Configure flags and universal variants
Vincent Lefevre
vincent-opdarw at vinc17.org
Wed Mar 28 07:52:07 PDT 2007
On 2007-03-28 13:05:23 +0200, Elias Pipping wrote:
> On Mar 28, 2007, at 3:35 AM, Paul Guyot wrote:
> >It would be great if this could be tested more and released as soon as
> >possible:
> >- it would allow maintainers to work on universal variants
> >- it would allow us to simplify many portfiles by removing:
> >configure.env CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
>
> the -I/path/to/include should go probably go into the CPPFLAGS, not the
> (C|CXX)FLAGS. i've only tried it with nano, but nano i.e.
I agree. But instead of setting CPPFLAGS and LDFLAGS, a solution
could be to set the CPATH and LIBRARY_PATH environment variables.
But I don't know what the best solution is in practice.
--
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
More information about the macports-dev
mailing list