[MacPorts] #22423: radlib doesn't use MacPorts libraries

Joshua Root jmr at macports.org
Tue Nov 10 01:29:04 PST 2009


On 2009-11-10 15:32, Thomas de Grivel wrote:
> (sorry, posted from wrong address)
> 
> 2009/11/10 M. Brooks Clark <brooks at clarksonline.net>:
>> Any suggestions for how I can get it to look for the libs in /opt/local/lib
>> before it finds the ones in /usr/lib?
> 
> 
> Would adding something like this be sufficient ?
> 
> configure.cflags-append   -I${prefix}/include

Possibly helpful, if the build system doesn't respect CPPFLAGS (which is
where this flag normally appears via configure.cppflags).

> configure.ldflags-append  -L${prefix}/lib

Not helpful, configure.ldflags has a default value of '-L${prefix}/lib'.

- Josh


More information about the macports-dev mailing list