[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] freetype build failing when flow-tools is present
From: |
Werner LEMBERG |
Subject: |
Re: [ft] freetype build failing when flow-tools is present |
Date: |
Fri, 03 Apr 2009 01:14:00 +0200 (CEST) |
>> 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