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
commit8d486b1ebd5b4b0886badde236e1e54f6bfe7215 (patch)
treedf07ae9f550ecc4d06b10acb753df570d3fcc52d /mk/bsd.pkg.mk
parent82908831d8f563c20b941d9f9e526f981706fdf6 (diff)
downloadpkgsrc-8d486b1ebd5b4b0886badde236e1e54f6bfe7215.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.