bsd.gcc.mk PREFIX or LOCALBASE?

Peter Jeremy peterjeremy at acm.org
Sat Feb 13 22:35:40 UTC 2010


On 2010-Feb-12 21:58:38 -0800, Rob Farmer <rfarmer at predatorlabs.net> wrote:
>Hi,
>
>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

Actually, these directives need to be embedded inside the ports
gcc's, not in bsd.gcc.mk.  The current situation means that
anything other than the base gcc is broken for anything except
building ports (and may still misbehave if gmake is used) unless
something like the above is explicitly added to the command line.

See ports/142226:
http://www.freebsd.org/cgi/query-pr.cgi?pr=142226


-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100213/6a1e8d5d/attachment.pgp


More information about the freebsd-ports mailing list