Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/05/2006 06:09:15
Module Name: pkgsrc
Committed By: jlam
Date: Wed Jul 5 06:09:15 UTC 2006
Modified Files:
pkgsrc/mk: bsd.pkg.mk
pkgsrc/mk/pkginstall: bsd.pkginstall.mk
pkgsrc/mk/wrapper: bsd.wrapper.mk
Added Files:
pkgsrc/mk/build: bsd.build-vars.mk bsd.build.mk build.mk test.mk
pkgsrc/mk/configure: bsd.configure-vars.mk bsd.configure.mk
config-override.mk configure.mk gnu-configure.mk
libtool-override.mk pkg-config-override.mk replace-interpreter.mk
replace-localedir.mk
Log Message:
Refactor configure, build, test and wrapper phases out of bsd.pkg.mk
and into their own directories. Also do some cleanups with build/_build
and pkginstall -- we get rid of _build and simply run pkginstall as
part of the "build" target.
Introduce a new mechanism to handle varying directory depths under
${WRKSRC} in which we find files to override, e.g. configure, config.*,
libtool, etc. OVERRIDE_DIRDEPTH is a package-settable variable that
specifies how far under ${WRKSRC} the various targets should look,
and it defaults to "2". We preserve the
meaning of the various *_OVERRIDE variables, so if they are defined,
then their values supersede the OVERRIDE_DIRDEPTH mechanism.
devel/tla will need to specially set OVERRIDE_DIRDEPTH to 3 (see log
for revision 1.1857 for bsd.pkg.mk -- to be done in a separate commit.
To generate a diff of this commit:
cvs rdiff -r1.1857 -r1.1858 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/build/bsd.build-vars.mk \
pkgsrc/mk/build/bsd.build.mk pkgsrc/mk/build/build.mk \
pkgsrc/mk/build/test.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/configure/bsd.configure-vars.mk \
pkgsrc/mk/configure/bsd.configure.mk \
pkgsrc/mk/configure/config-override.mk pkgsrc/mk/configure/configure.mk \
pkgsrc/mk/configure/gnu-configure.mk \
pkgsrc/mk/configure/libtool-override.mk \
pkgsrc/mk/configure/pkg-config-override.mk \
pkgsrc/mk/configure/replace-interpreter.mk \
pkgsrc/mk/configure/replace-localedir.mk
cvs rdiff -r1.11 -r1.12 pkgsrc/mk/pkginstall/bsd.pkginstall.mk
cvs rdiff -r1.42 -r1.43 pkgsrc/mk/wrapper/bsd.wrapper.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.