Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 07/15/2006 23:58:53
Module Name: pkgsrc
Committed By: rillig
Date: Sat Jul 15 23:58:53 UTC 2006
Modified Files:
pkgsrc/mk: bsd.hacks.mk bsd.pkg.mk
pkgsrc/mk/configure: configure.mk
pkgsrc/mk/fetch: fetch.mk
pkgsrc/mk/flavor/pkg: metadata.mk
pkgsrc/mk/plist: plist.mk
Added Files:
pkgsrc/mk/internal: build-defs-message.mk
Log Message:
Split the variable BUILD_DEFS into those that are defined by packages
and those that are defined by the infrastructure (_BUILD_DEFS). This
allows the build-defs-message target to be moved to the end of
bsd.pkg.mk. Now it prints the correct result even in unprivileged
builds, which had been wrong due to the order in which the files have
been included. For example, ${UNPRIVILEGED_USER} was displayed as (not
defined) although its value was defined, which could be checked with
"bmake show-var".
Tested with one package that _does_ define BUILD_DEFS and with one that
doesn't. The behavior stays the same.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/bsd.hacks.mk
cvs rdiff -r1.1870 -r1.1871 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/configure/configure.mk
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/fetch/fetch.mk
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/flavor/pkg/metadata.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/internal/build-defs-message.mk
cvs rdiff -r1.13 -r1.14 pkgsrc/mk/plist/plist.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.