Subject: CVS commit: pkgsrc/mk/buildlink2
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 10/30/2002 02:23:01
Module Name: pkgsrc
Committed By: jlam
Date: Wed Oct 30 00:23:01 UTC 2002
Modified Files:
pkgsrc/mk/buildlink2: bsd.buildlink2.mk libtool-fix-la post-cache
pre-cache
Added Files:
pkgsrc/mk/buildlink2: gen-transform.sh
Log Message:
Move the sed command in _BLNK_{,UN}TRANSFORM_SED into a sed command files
.transform.sed and .untransform.sed that are generated by a new
gen-transform.sh shell script. This avoids all of the silliness with
exceeding the length of the value of a make variable that brought about
breaking the original _BLNK_TRANSFORM_SED into _BLNK_TRANSFORM_SED.[1-4].
It's also vastly easier to understand the gen-transform.sh script as
opposed to the juxtaposition of make and sed regular expressions, a.k.a.
massive eyesores, that were in bsd.buildlink.mk.
Also fix the directory protection scheme so that it might actually work
if the pkgsrc directory is a subdirectory of /usr/pkg (${LOCALBASE}).
Lastly, filter out /usr/X11R6 (${X11BASE}) if the package doesn't define
USE_X11. This should catch packages that use X11 without announcing it,
and avoids one way you can circumvent buildlink2.
To generate a diff of this commit:
cvs rdiff -r1.44 -r1.45 pkgsrc/mk/buildlink2/bsd.buildlink2.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/buildlink2/gen-transform.sh
cvs rdiff -r1.11 -r1.12 pkgsrc/mk/buildlink2/libtool-fix-la
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/buildlink2/post-cache
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/buildlink2/pre-cache
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.