pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2003Q4]: pkgsrc/mk Pullup fix to pkgsrc-2003Q4 branch, request...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/753d1a0358ea
branches:  pkgsrc-2003Q4
changeset: 463701:753d1a0358ea
user:      agc <agc%pkgsrc.org@localhost>
date:      Thu Dec 11 09:55:31 2003 +0000

description:
Pullup fix to pkgsrc-2003Q4 branch, requested by Grant Beattie.

        Module Name:    pkgsrc
        Committed By:   grant
        Date:           Thu Dec 11 00:05:36 UTC 2003

        Modified Files:
                pkgsrc/mk: subst.mk

        Log Message:
        only print SUBST_MESSAGE if it's defined.

diffstat:

 mk/subst.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 46f0dc5a20ac -r 753d1a0358ea mk/subst.mk
--- a/mk/subst.mk       Wed Dec 10 08:02:12 2003 +0000
+++ b/mk/subst.mk       Thu Dec 11 09:55:31 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.3 2003/10/07 10:19:09 jlam Exp $
+# $NetBSD: subst.mk,v 1.3.2.1 2003/12/11 09:55:31 agc Exp $
 #
 # This Makefile fragment implements a general text replacement facility
 # for different classes of files in ${WRKSRC}.  For each class of files,
@@ -55,8 +55,10 @@
 
 .PHONY: subst-${_class_}-message
  subst-${_class_}-message:
+.if defined(SUBST_MESSAGE.${_class_})
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
        ${ECHO_SUBST_MSG} "=> ${SUBST_MESSAGE.${_class_}}"
+.endif
 
 .PHONY: subst-${_class_}-cookie
  subst-${_class_}-cookie:



Home | Main Index | Thread Index | Old Index