Subject: Re: make package should build dependency packages
To: None <tech-pkg@netbsd.org>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-pkg
Date: 06/17/2003 18:26:08
On Tue, Jun 17, 2003 at 12:14:53PM -0400, Todd Vierling wrote:
> BTW, don't put all your faith in buildlink2, yet. Not all the buildlink2.mk
> files DTRT -- some exist that effectively set CPPFLAGS+=-I${PREFIX}/include
> LDFLAGS+=-L${PREFIX}/lib [!!!]. See devel/gettext-lib for an example.
So what's the problem with that?
If ${PREFIX} is /usr, no problem.
If ${PREFIX} is /usr/pkg (or similar) the buildlink wrapper replaces it with
a path into work*/.buildlink, no problem either.
Thomas