Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-15 Thread Gerald Pfeifer
On Mon, 15 Feb 2010, b. f. wrote: > Normally, such an rpath directive would automatically be issued, but > our lang/gcc4* ports have this default feature disabled unless > WITHOUT_JAVA is defined, citing an old PR related to gcj and it's > libraries: > > .if ! defined(WITHOUT_JAVA) > ... > # FIXME

Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-15 Thread b. f.
Peter Jeremy wrote: >On 2010-Feb-12 21:58:38 -0800, Rob Farmer 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 > >Act

Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-14 Thread Gerald Pfeifer
On Sun, 14 Feb 2010, jhell wrote: > Could this possibly be the cause of the samba3* and cups ports getting > profiling enabled on them ? possibly others ? I don't think the the use of ${PREFIX} versus ${LOCALBASE} can have such an effect, and by default (and thus the vast majority of uses) the tw

Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-14 Thread Gerald Pfeifer
On Sat, 13 Feb 2010, b. f. wrote: > 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 som

Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-14 Thread jhell
On Sat, 13 Feb 2010 21:47, rfarmer@ wrote: On Sat, Feb 13, 2010 at 12:08 AM, b. f. 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

Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-13 Thread Rob Farmer
On Sat, Feb 13, 2010 at 12:08 AM, b. f. 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

Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-13 Thread Peter Jeremy
On 2010-Feb-12 21:58:38 -0800, Rob Farmer 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

Re: bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-13 Thread b. f.
>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, a

bsd.gcc.mk PREFIX or LOCALBASE?

2010-02-12 Thread Rob Farmer
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 However, I think this should be ${LOCALBASE} instead of ${PREFIX}. Running genplist on a