summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-08-14 13:21:57 +0000
committerrillig <rillig@pkgsrc.org>2007-08-14 13:21:57 +0000
commitb1e6764d1370dc4737eef36214976f1b5c576334 (patch)
tree305e0eb41b2443d4d9b7486f9f9d975519b51acd
parentf8f97243e297abb5322c7f4c56fe41447fa884b6 (diff)
downloadpkgsrc-b1e6764d1370dc4737eef36214976f1b5c576334.tar.gz
Don't print the message for the distribution patches if there aren't any.
-rw-r--r--mk/patch/patch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/patch/patch.mk b/mk/patch/patch.mk
index f7e6572cbb9..b799b691900 100644
--- a/mk/patch/patch.mk
+++ b/mk/patch/patch.mk
@@ -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 @@ patch-cookie:
###
.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