Subject: Re: CVS commit: pkgsrc/mk
To: grant beattie <email@example.com>
From: Johnny C. Lam <jlam@NetBSD.org>
Date: 10/19/2003 01:16:09
On Sat, Oct 18, 2003 at 09:14:47AM +0000, grant beattie wrote:
> Modified Files:
> pkgsrc/mk: compiler.mk
> Log Message:
> move the libstdc++ fake libtool archive stuff out of
> !defined(COMPILER_MK) for now.
> some packages include bsd.prefs.mk before defining USE_BUILDLINK2,
> which resulted in the libstdc++ fake-la target being missed.
> XXX the real fix is to include compiler.mk from both bsd.prefs.mk and
> XXX bsd.pkg.mk, and have compiler.mk make the right decisions based on
> XXX where it was included from.
Alternatively, just sweep through package Makefiles and make sure
that USE_BUILDLINK2 is defined before bsd.prefs.mk is included.
When we eventually use USE_BUILDLINK3, it must also be defined before
bsd.prefs.mk is included.
-- Johnny Lam <jlam@NetBSD.org>