pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/patch Don't print the message for the distribution ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c642dd0adbc
branches:  trunk
changeset: 532226:6c642dd0adbc
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Aug 14 13:21:57 2007 +0000

description:
Don't print the message for the distribution patches if there aren't any.

diffstat:

 mk/patch/patch.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 85b9cead103f -r 6c642dd0adbc mk/patch/patch.mk
--- a/mk/patch/patch.mk Tue Aug 14 13:15:58 2007 +0000
+++ b/mk/patch/patch.mk Tue Aug 14 13:21:57 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: patch.mk,v 1.11 2006/07/22 16:31:35 jlam Exp $
+# $NetBSD: patch.mk,v 1.12 2007/08/14 13:21:57 rillig Exp $
 #
 # The following variables may be set in a package Makefile and control
 # how pkgsrc patches are applied.
@@ -126,7 +126,7 @@
 ###
 .PHONY: pre-patch do-patch post-patch
 
-.if defined(PATCHFILES)
+.if !empty(PATCHFILES)
 _PKGSRC_PATCH_TARGETS+=        distribution-patch-message
 _PKGSRC_PATCH_TARGETS+=        do-distribution-patch
 .endif



Home | Main Index | Thread Index | Old Index