From 755bef93455430eb53d5e3fa7c3cf1af313e14f7 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 13 Mar 2000 14:24:27 +0000 Subject: 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. --- mk/bsd.pkg.mk | 4 +++- mk/mk.conf.example | 8 +++++++- 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 # -- cgit v1.2.3