Subject: CVS commit: [buildlink2] pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 06/22/2002 00:39:26
Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Jun 21 21:39:25 UTC 2002

Added Files:
	pkgsrc/mk/buildlink2 [buildlink2]: bsd.buildlink2.mk
Removed Files:
	pkgsrc/mk [buildlink2]: bsd.buildlink2.mk bsd.post-buildlink2.mk

Log Message:
Merge bsd.buildlink2.mk and bsd.post-buildlink2.mk into one file and store
in a new location (buildlink2/bsd.buildlink2.mk).  This file is directly
included by bsd.pkg.mk and _should_not_ be included by individual
buildlink2.mk files anymore.

A new variable has been created to handle different types of dependencies
on packages:

BUILDLINK_DEPMETHOD.<pkg> is either "build" or "full" (default is "full")
and represents whether we desire a BUILD_DEPENDS or a DEPENDS on <pkg>.

Also, the libtool.sh script has been split into two parts to better
optimize the runtime.  The helper script, libtool-fix-la, is created when
USE_LIBTOOL is defined.

Lastly, instead of attaching all of the buildlink2 targets to
"pre-configure", they are now attached to "do-buildlink" so that they will
be called regardless of whether NO_CONFIGURE is defined or not.


To generate a diff of this commit:
cvs rdiff -r1.1.2.3 -r0 pkgsrc/mk/bsd.buildlink2.mk
cvs rdiff -r1.1.2.5 -r0 pkgsrc/mk/bsd.post-buildlink2.mk
cvs rdiff -r0 -r1.1.2.1 pkgsrc/mk/buildlink2/bsd.buildlink2.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.