summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc>2000-03-13 14:24:27 +0000
committeragc <agc>2000-03-13 14:24:27 +0000
commit39da617e7672ddaa2f3343f858556b61ed469e91 (patch)
tree1cfb89953c1cbc1b2ed90fd958c5e71630e030a2 /mk
parenta961bd66c0d52455daba3e1b93e911aa060993bb (diff)
downloadpkgsrc-39da617e7672ddaa2f3343f858556b61ed469e91.tar.gz
Previous commit to bsd.pkg.mk caught some "SMART_MESSAGES" work - document
them now, in mk.conf.example, and add a small comment explaining what they do. When SMART_MESSAGES is defined, when compiling packages, the make(1) target is displayed, and also the current stack of packages being built.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
-rw-r--r--mk/mk.conf.example8
2 files changed, 10 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index f4f95e46e74..66a6b755ef7 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.416 2000/03/13 14:19:15 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.417 2000/03/13 14:24:27 agc Exp $
#
# This file is in the public domain.
#
@@ -622,6 +622,8 @@ PKG_DBDIR?= ${DESTDIR}/var/db/pkg
# shared/dynamic motif libs
MOTIFLIB?= -L${MOTIFBASE}/lib -L${X11BASE}/lib -L${LOCALBASE}/lib -Wl,-R${MOTIFBASE}/lib -Wl,-R${X11BASE}/lib -Wl,-R${LOCALBASE}/lib -lXm
+# Define SMART_MESSAGES in /etc/mk.conf for messages giving the tree
+# of depencies for building, and the current target.
.ifdef SMART_MESSAGES
_PKGSRC_IN?= ===> ${.TARGET} [${PKGNAME}${_PKGSRC_DEPS}] ===
.else
diff --git a/mk/mk.conf.example b/mk/mk.conf.example
index 9e9f746d7f7..aad464ba6ac 100644
--- a/mk/mk.conf.example
+++ b/mk/mk.conf.example
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf.example,v 1.124 2000/03/13 04:44:18 wiz Exp $
+# $NetBSD: mk.conf.example,v 1.125 2000/03/13 14:24:29 agc Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@@ -208,6 +208,12 @@
# Possible: yes, no
# Default: yes
+#SMART_MESSAGES=yes
+# Display the make(1) target, and the current stack of packages being built,
+# when displaying messages during package builds.
+# Possible: defined, not defined
+# Default: not defined
+
#
# Definitions used only in the packages collection
#