Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 11/09/2006 02:53:15
Module Name: pkgsrc
Committed By: rillig
Date: Thu Nov 9 02:53:15 UTC 2006
Modified Files:
pkgsrc/mk/build: build.mk
pkgsrc/mk/check: bsd.check.mk
pkgsrc/mk/configure: configure.mk
Added Files:
pkgsrc/mk/check: check-headers.mk check-headers.sh check-portability.mk
check-portability.sh check-subr.sh
Removed Files:
pkgsrc/mk/configure: check-portability.mk check-portability.sh
Log Message:
Moved the portability checks from the configure/ directory to checks/,
since according to the comment in check/bsd.check.mk, they belong there.
Added a new check for all C and C++ header files to make sure they don't
contain strings like ${prefix} or ${exec_prefix}, which is currently a
problem with sysutils/dbus and has been noticed in PR 35019. This check
is disabled by default since I don't know anything about possible false
positives, but I plan to enable it for PKG_DEVELOPERs after some
testing.
Added two names for hooks that are placed in the configure and in the
build phase. Now the checks look more like becoming something one could
call a framework, sharing a common structure and a documented interface.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/mk/build/build.mk
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/check/bsd.check.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/check/check-headers.mk \
pkgsrc/mk/check/check-headers.sh pkgsrc/mk/check/check-portability.mk \
pkgsrc/mk/check/check-portability.sh pkgsrc/mk/check/check-subr.sh
cvs rdiff -r1.8 -r0 pkgsrc/mk/configure/check-portability.mk
cvs rdiff -r1.5 -r0 pkgsrc/mk/configure/check-portability.sh
cvs rdiff -r1.11 -r1.12 pkgsrc/mk/configure/configure.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.