summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-23 04:15:47 +0000
committerjlam <jlam@pkgsrc.org>2005-06-23 04:15:47 +0000
commit528bf6c7cf3d3fe11ea2f0670f875f9b3c531b8c (patch)
treedf07ae9f550ecc4d06b10acb753df570d3fcc52d /mk/bsd.pkg.mk
parente31b9e70c79b988e49ce7a63d936e583add91c8c (diff)
downloadpkgsrc-528bf6c7cf3d3fe11ea2f0670f875f9b3c531b8c.tar.gz
Reverse the checks for the value of CHECK_WRKREF so that if it's value
isn't "no", then we run the checks. This allows for possibly making CHECK_WRKREF a more multi-valued option or list in the future.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 4250685fdf3..cb8a95da3da 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1696 2005/06/14 22:02:00 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1697 2005/06/23 04:15:47 jlam Exp $
#
# This file is in the public domain.
#
@@ -61,7 +61,7 @@ build-defs-message: ${WRKDIR}
CHECK_FILES?= NO # run check-files after install
CHECK_FILES_STRICT?= NO # make check-files very strict on errors
CHECK_SHLIBS?= YES # run check-shlibs after install
-CHECK_WRKREF?= NO # run check-wrkref after install
+CHECK_WRKREF?= no # run check-wrkref after install
CLEANDEPENDS?= NO
DEINSTALLDEPENDS?= NO # add -R to pkg_delete
MKCRYPTO?= YES # build crypto packages by default
@@ -2215,7 +2215,7 @@ real-su-install: ${MESSAGE}
.if defined(PKG_DEVELOPER) && (${CHECK_SHLIBS} == "YES")
${_PKG_SILENT}${_PKG_DEBUG}${MAKE} ${MAKEFLAGS} check-shlibs
.endif
-.if !empty(CHECK_WRKREF:M[yY][eE][sS])
+.if empty(CHECK_WRKREF:M[nN][oO])
${_PKG_SILENT}${_PKG_DEBUG}${MAKE} ${MAKEFLAGS} check-wrkref
.endif
.if defined(PKG_DEVELOPER) && (${CHECK_FILES} == "YES")
@@ -2543,7 +2543,7 @@ show-shlib-type:
# it isn't, then it is checked for "${TOOLS_DIR}". If any such
# references are found and PKG_DEVELOPER is defined, then exit with an
# error. This target is automatically run after a package is installed
-# if CHECK_WRKREF is "yes".
+# if CHECK_WRKREF is anything other than "no".
#
# CHECK_WRKREF_SKIP is a list of shell globs. Installed files that
# match these globs are skipped when running the check-wrkref target.