Subject: Re: Some work on pkgsrc on Darwin
To: None <>
From: Rob Latham <>
List: tech-pkg
Date: 02/17/2002 17:41:52
On Mon, Feb 11, 2002 at 09:09:55PM -0500, Eric Gillespie wrote:
> Similarly, adding -no-cpp-precomp to a bunch of
> separate package Makefiles (which i did) is probably not the best
> solution.  Putting it in mk.conf didn't seem to help.  (Apple's gcc
> pre-compiles headers by default, which doesn't work for some packages,
> hence the -no-cpp-precomp option).

an aside: -no-cpp-precomp is deprecated, but for the life of me i can't find
where i read that.  -traditional-cpp is the new prefered way.  And you
can throw in -Wno-precomp for good (overkill?) measure 

mk.conf as written diddles with CPPFLAGS if DESTDIR is set.  I can't find
where DESTDIR gets set, so my dumb way to get -traditional-cpp is
export CPPFLAGS before calling make 


Rob Latham                                        Woodridge, IL USA
EAE8 DE90 85BB 526F 3181                   1FCF 51C4 B6CB 08CC 0897