Subject: Re: problem with absolute include paths being killed (MacOS X)
To: Georg Schwarz <>
From: Todd Vierling <>
List: tech-pkg
Date: 03/06/2006 10:19:25
On Sun, 5 Mar 2006, Georg Schwarz wrote:

>    (logic) pop:  -I/Developer/Headers/FlatCarbon
>    (logic) to:
>    (logic) push:

> +.if ${OPSYS} == "Darwin"
> +BUILDLINK_PASSTHRU_DIRS+=      /Developer/Headers/FlatCarbon
> +.endif

> Is this the correct approach to the issue?


> Should it be specified per package of rather globally for all packages (and if
> the latter, where)?

Per-package basis, in the package's Makefile (or Makefile fragments).

> It's probably needed only for MacOS X, not for Darwin without Carbon. Is there
> an elegant way at Makefile level to distinguish between these situations?

It doesn't really matter that much, you're fine just checking for Darwin.

-- Todd Vierling <> <> <>