diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-09 02:53:15 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-09 02:53:15 +0000 |
commit | 3911155e2f241c276d7b5c75b32ccfd68c6a6627 (patch) | |
tree | f288e89bbcdc9a6720db069493d3c910a194766b /mk/build/build.mk | |
parent | 335ef695eec1f9425771ef90afa1a8605420843c (diff) | |
download | pkgsrc-3911155e2f241c276d7b5c75b32ccfd68c6a6627.tar.gz |
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.
Diffstat (limited to 'mk/build/build.mk')
-rw-r--r-- | mk/build/build.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/build/build.mk b/mk/build/build.mk index bcc3225d704..79e9e6f96b2 100644 --- a/mk/build/build.mk +++ b/mk/build/build.mk @@ -1,4 +1,4 @@ -# $NetBSD: build.mk,v 1.8 2006/10/26 21:12:47 rillig Exp $ +# $NetBSD: build.mk,v 1.9 2006/11/09 02:53:15 rillig Exp $ # # This file defines what happens in the build phase, excluding the # self-test, which is defined in test.mk. @@ -81,6 +81,7 @@ ${_COOKIE.build}: real-build _REAL_BUILD_TARGETS+= build-check-interactive _REAL_BUILD_TARGETS+= build-message _REAL_BUILD_TARGETS+= build-vars +_REAL_BUILD_TARGETS+= pre-build-checks-hook _REAL_BUILD_TARGETS+= pre-build _REAL_BUILD_TARGETS+= do-build _REAL_BUILD_TARGETS+= post-build |