summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2007-08-14 13:21:57 +0000
committerrillig <rillig>2007-08-14 13:21:57 +0000
commite1ad65a489bcc11ca05973f5f3e0a01b3da60ec3 (patch)
tree305e0eb41b2443d4d9b7486f9f9d975519b51acd
parent10bbb8693e8d7ca1da039eb2adca823b52957d3f (diff)
downloadpkgsrc-e1ad65a489bcc11ca05973f5f3e0a01b3da60ec3.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