using libs installed with macports to build a tarball

Ryan Schmidt ryandesign at macports.org
Thu Nov 22 21:16:54 PST 2007


On Nov 22, 2007, at 17:09, Mailing lists wrote:

> I noticed an odd thing. I've built and installed liblrdf (ardour  
> dependency) in /usr/local and when I run scons in ardour's  
> directory (equivalent to './configure && make') it says it can't  
> find liblrdf.
> I've reinstalled liblrdf with "--prefix=/opt/local" and now it  
> works ?!?
>
> I don't really understand the priority between one Include  
> directory and another so do I have something particular to know  
> when I want to mix a macports installed soft or lib and a "hand- 
> made" build ?

Yes, you would have to set

LDFLAGS=-L/opt/local/lib CFLAGS=-I/opt/local/include

when you want to build other software using MacPorts libraries but  
not installed in MacPorts's prefix.

Perhaps you would instead consider contributing a portfile for liblrdf?



More information about the macports-users mailing list