Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: pkgsrc-changes
Date: 08/08/2003 08:43:41
Module Name:	pkgsrc
Committed By:	agc
Date:		Fri Aug  8 08:43:40 UTC 2003

Modified Files:
	pkgsrc/mk: bsd.pkg.defaults.mk bsd.pkg.mk

Log Message:
Re-model the BUILD_DEFS display during build: if PKGSRC_SHOW_BUILD_DEFS is
defined, then show the BUILD_DEFS to the user. If not, then just keep quiet.

Whilst I'm here, re-indent the cpp-like .if/.else/.endif/.for/.endfor lines
properly.

Also, remove the ":u" modifier in the build-defs-message code - it's not
strictly necessary (duplicate definitions will be displayed, but this isn't
a major problem), and it removes the requirement to have a make(1) binary
which supports ":u".

This should fix PR 22402 from Alan Barrett, and also addresses some concerns
raised by Robert Elz.


To generate a diff of this commit:
cvs rdiff -r1.171 -r1.172 pkgsrc/mk/bsd.pkg.defaults.mk
cvs rdiff -r1.1231 -r1.1232 pkgsrc/mk/bsd.pkg.mk

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