Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Alan Hourihane <alanh@...>
Subject: Re: Re: cmake eclass fix
Date: Thu, 06 Oct 2011 10:34:26 +0100
On 10/06/11 10:29, Alan Hourihane wrote:
> On 10/06/11 10:15, Michael Haubenwallner wrote:
>> Hi Alan,
>>
>> On 10/06/2011 12:33 AM, Alan Hourihane wrote:
>>> On 10/05/11 22:39, Jonathan Callen wrote:
>>>> On 10/05/2011 03:01 PM, Alan Hourihane wrote:
>>>>> On 10/04/11 11:24, Alan Hourihane wrote:
>>>>>> On 10/04/11 11:21, Alan Hourihane wrote:
>>>>>>> On 08/14/11 19:05, Alan Hourihane wrote:
>>>>>>>> On 08/14/11 11:40, Fabian Groffen wrote:
>>>>>>>>> On 07-07-2011 15:42:40 +0100, Alan Hourihane wrote:
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> Can someone replace the link the cmake eclass that says
>>>>>>>>>> ....
>>>>>>>>>>
>>>>>>>>>> if use prefix; then
>>>>>>>>>>
>>>>>>>>>> to
>>>>>>>>>>
>>>>>>>>>> if use prefix && ! EPREFIX=; then
>>>>>> if use prefix && "${EPREFIX}" != ""; then
>>>>>>
>>>>>> The above is better. Can this be committed ?
>>>>>>
>>>>> Actually this works for me.....
>>>>> if use prefix && ! ${EPREFIX}; then
>>>> I hope you meant:
>>>>
>>>> if use prefix && ! [[ ${EPREFIX} ]]; then
>> Reading the different variants (without reading the cmake.eclass),
>> these variants do give different results.
>>
>> Probably, you do want to fire that 'if' when "EPREFIX is not empty", right?
> Right.
>
>> Actually, the last one (as reported in [1]) does fire "when EPREFIX is empty".
>>
>> So you probably want:
>>
>> - if use prefix; then
>> + if use prefix && [[ ${EPREFIX} ]]; then
>>
>> So - have you actually tried your reported variant?
> It originally started out with
>
> if use prefix && ! $EPREFIX=; then
>
> which seemed to do the trick, but obviously hadn't tested it.

Meant to say, obviously hadn't tested the later variants.

Alan.


References:
cmake eclass fix
-- Alan Hourihane
Re: cmake eclass fix
-- Fabian Groffen
Re: cmake eclass fix
-- Alan Hourihane
Re: cmake eclass fix
-- Alan Hourihane
Re: cmake eclass fix
-- Alan Hourihane
Re: cmake eclass fix
-- Alan Hourihane
Re: cmake eclass fix
-- Jonathan Callen
Re: Re: cmake eclass fix
-- Alan Hourihane
Re: Re: cmake eclass fix
-- Michael Haubenwallner
Re: Re: cmake eclass fix
-- Alan Hourihane
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: cmake eclass fix
Next by thread:
Feature request for portage-prefix
Previous by date:
Re: Re: cmake eclass fix
Next by date:
Re: Building python fails on SLES10.1 (python-2.7.2)


Updated Apr 03, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.