bsd.gcc.mk PREFIX or LOCALBASE?
jhell
jhell at DataIX.net
Sun Feb 14 20:36:47 UTC 2010
On Sat, 13 Feb 2010 21:47, rfarmer@ wrote:
> On Sat, Feb 13, 2010 at 12:08 AM, b. f. <bf1783 at googlemail.com> wrote:
>>> In bsd.gcc.mk there is:
>>>
>>> . if ${_USE_GCC} != 3.4
>>> CFLAGS+= -Wl,-rpath=${PREFIX}/lib/${_GCC_BUILD_DEPENDS}
>>> LDFLAGS+= -Wl,-rpath=${PREFIX}/lib/${_GCC_BUILD_DEPENDS}
>>> . 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. The Ports system is not now well-equipped to deal with
>> LOCALBASE != 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.
>
Could this possibly be the cause of the samba3* and cups ports getting
profiling enabled on them ? possibly others ?
If so I would think this should be important enough to fix before.
Inquisitive question.
--
jhell
More information about the freebsd-ports
mailing list