>>    CFLAGS="$CFLAGS -UFT_CONFIG_CONFIG_H -DFT_CONFIG_CONFIG_H=..."
> 
> Hmm.  It just seems odd to me that I should have to tell freetype
> where its config file is, when it should already know this.

Well, you do something completely non-standard ...

> Someone suggested we change CPPFLAGS="-I${prefix}/include" to
> CPPFLAGS="-isystem${prefix}/include", and this does seem to work
> [...]
> 
> What we need in MacPorts is a way to tell all ports "When you need
> extra includes and libraries from other software, look for them in
> the following prefix before looking in /, /usr, and /usr/local." For
> some time we have been using CPPFLAGS="-I${prefix}/include" and
> LDFLAGS="-L${prefix}/lib" to do this.

Yes.  Looking at the info pages of `cpp', `-isystem' seems to be
exactly the right thing.


    Werner


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to