Subject: CVS commit: pkgsrc/mk/build
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 10/26/2006 21:12:47
Module Name:	pkgsrc
Committed By:	rillig
Date:		Thu Oct 26 21:12:47 UTC 2006

Modified Files:
	pkgsrc/mk/build: build.mk test.mk

Log Message:
Changed BUILD_MAKE_FLAGS and TEST_MAKE_FLAGS to be appended to the
common MAKE_FLAGS instead of overriding them, to align with the new
definition of INSTALL_MAKE_FLAGS.

The packages that override BUILD_MAKE_FLAGS don't have to be changed,
since they prepended MAKE_FLAGS to BUILD_MAKE_FLAGS, except for less
than five cases. In those cases, it may well have been unknown to the
package author that MAKE_INSTALL_FLAGS had been an overriding variable
instead of one whose value is just appended to something else.

Some packages (postgresql, some compilers, Java environments, qcad) are
using code copied from build.mk. These packages will have to be adjusted
to the new variable definitions. To make this change easier, two new
variables BUILD_MAKE_CMD and TEST_MAKE_CMD have been introduced that
contain the complete command that makes up the call to make(1). This
prevents further code duplication.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/build/build.mk pkgsrc/mk/build/test.mk

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