pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Use saner values for PKGSRC_SHOW_BUILD_DEFS - make ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0a0b5c1d471
branches:  trunk
changeset: 459817:b0a0b5c1d471
user:      agc <agc%pkgsrc.org@localhost>
date:      Fri Aug 08 12:04:40 2003 +0000

description:
Use saner values for PKGSRC_SHOW_BUILD_DEFS - make this switch on "yes"
or "YES", rather than a straight definition.

diffstat:

 mk/bsd.pkg.defaults.mk |  8 ++++----
 mk/bsd.pkg.mk          |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r f26655a495f4 -r b0a0b5c1d471 mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Fri Aug 08 11:45:46 2003 +0000
+++ b/mk/bsd.pkg.defaults.mk    Fri Aug 08 12:04:40 2003 +0000
@@ -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 @@
 # 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 -r f26655a495f4 -r b0a0b5c1d471 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Aug 08 11:45:46 2003 +0000
+++ b/mk/bsd.pkg.mk     Fri Aug 08 12:04:40 2003 +0000
@@ -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 @@
 # 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}



Home | Main Index | Thread Index | Old Index