summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-08-08 12:04:40 +0000
committeragc <agc@pkgsrc.org>2003-08-08 12:04:40 +0000
commit3fb3fe21a07cda1f72e3bd348b861adea632002d (patch)
treeca3ed49f7bd9117060bdfc306c81acd4b87078d9 /mk
parent122e69620b548a9003074d234f2b26af369b2bda (diff)
downloadpkgsrc-3fb3fe21a07cda1f72e3bd348b861adea632002d.tar.gz
Use saner values for PKGSRC_SHOW_BUILD_DEFS - make this switch on "yes"
or "YES", rather than a straight definition.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.defaults.mk8
-rw-r--r--mk/bsd.pkg.mk4
2 files changed, 6 insertions, 6 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index a8ec92b071d..76390a9fa46 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.174 2003/08/08 11:13:17 hubertf Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.175 2003/08/08 12:04:40 agc Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -90,12 +90,12 @@ PKGSRC_MESSAGE_RECIPIENTS?=
# Possible: any login names
# Default: none
-PKGSRC_SHOW_BUILD_DEFS=yes
+PKGSRC_SHOW_BUILD_DEFS?=yes
# Show BUILD_DEFS definitions for a package when it is being built
# (BUILD_DEFS are extra definitions which govern how some packages are
# built and behave)
-# Possible: defined, not defined
-# Default: defined
+# Possible: "yes", not "yes"
+# Default: "yes"
PKGSRC_RUN_TEST?= no
# Run test target before install
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 0059f4914a8..508a8637ca1 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1232 2003/08/08 08:43:37 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1233 2003/08/08 12:04:40 agc Exp $
#
# This file is in the public domain.
#
@@ -34,7 +34,7 @@ MAKE_ENV+= USETOOLS="${USETOOLS}"
# Makefile, which are usually not customizable.
.PHONY: pre-extract build-defs-message
pre-extract: build-defs-message
-.if !defined(PKGSRC_SHOW_BUILD_DEFS)
+.if ${PKGSRC_SHOW_BUILD_DEFS} != "YES" && ${PKGSRC_SHOW_BUILD_DEFS} != "yes"
build-defs-message:
.elif !target(build-defs-message)
build-defs-message: ${WRKDIR}