From 394e684cbbde53918b135a64dc7d92164223953c Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 9 Nov 2006 02:53:15 +0000 Subject: 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. --- mk/build/build.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk/build') 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 -- cgit v1.2.3