Subject: CVS commit: [buildlink2] pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 06/06/2002 09:34:38
Module Name: pkgsrc
Committed By: jlam
Date: Thu Jun 6 06:34:38 UTC 2002
Modified Files:
pkgsrc/mk [buildlink2]: bsd.buildlink2.mk bsd.post-buildlink2.mk
Added Files:
pkgsrc/mk/buildlink2 [buildlink2]: README libtool.sh post-cache
pre-cache wrapper.sh
Log Message:
* Reimplement the wrapper script system so that it examines each argument
and translates it into its buildlink equivalent, with caching to reduce
the penalty of the translation. This makes the wrappers robust against
having quotes or spaces in the arguments, e.g. -DCPP=\"cc\ -E\". A more
complete description of the wrapper script system may be found in
mk/buildlink2/README.
* Push the libtool fixes into a separate main wrapper script so that the
archives are fixed as part of the creation of the libtool archive, and so
from make(1)'s point of view, the libtool archive is created atomically.
This prevents accidentally triggerring rebuilds of uninstalled libtool
archives that depend on other uninstalled libtool archives during the
installation process.
* Use a new variable name convention in the buildlink framework:
_LT_* are private libtool-related variables
LIBTOOL are publicly-usable libtool-related variables
_BLNK_* are private buildlink-related variables
BUILDLINK_* are publicly-usable buildlink-related variables
To generate a diff of this commit:
cvs rdiff -r1.1.2.2 -r1.1.2.3 pkgsrc/mk/bsd.buildlink2.mk
cvs rdiff -r1.1.2.4 -r1.1.2.5 pkgsrc/mk/bsd.post-buildlink2.mk
cvs rdiff -r0 -r1.1.2.1 pkgsrc/mk/buildlink2/README \
pkgsrc/mk/buildlink2/libtool.sh pkgsrc/mk/buildlink2/post-cache \
pkgsrc/mk/buildlink2/pre-cache pkgsrc/mk/buildlink2/wrapper.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.