Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 18:47:33 -0800
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        bf1783@gmail.com
Cc:        gerald@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: bsd.gcc.mk PREFIX or LOCALBASE?
Message-ID:  <b025ceb71002131847w6a925c1i2527493cea20c7d5@mail.gmail.com>
In-Reply-To: <d873d5be1002130008k2ea4a8d8tf7078a22f97bb9d9@mail.gmail.com>
References:  <d873d5be1002130008k2ea4a8d8tf7078a22f97bb9d9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 13, 2010 at 12:08 AM, b. f. <bf1783@googlemail.com> wrote:
>>In bsd.gcc.mk there is:
>>
>>. =A0 if ${_USE_GCC} !=3D 3.4
>>CFLAGS+=3D =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-Wl,-rpath=3D${PREFIX}/lib/${_G=
CC_BUILD_DEPENDS}
>>LDFLAGS+=3D =A0 =A0 =A0 =A0 =A0 =A0 =A0 -Wl,-rpath=3D${PREFIX}/lib/${_GCC=
_BUILD_DEPENDS}
>>. =A0 endif
>>
>>However, I think this should be ${LOCALBASE} instead of ${PREFIX}.
>
> I agree with you, and I meant to mention this to gerald@ earlier, but
> I forgot. =A0The Ports system is not now well-equipped to deal with
> LOCALBASE !=3D PREFIX for a lot of software, and most people don't do
> this, so the impact is limited, but it does break some test builds and
> utilities, as you have seen.

Yeah, I realize this is kind of an unusual situation and I understand
that with the ports freeze coming up that now is not a good time to be
making these kind of changes, but just thought I would mention it
since I came across it.

--=20
Rob Farmer

>
> b.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b025ceb71002131847w6a925c1i2527493cea20c7d5>