summaryrefslogtreecommitdiff
path: root/mk/patch
diff options
context:
space:
mode:
authorrillig <rillig>2007-08-14 13:21:57 +0000
committerrillig <rillig>2007-08-14 13:21:57 +0000
commitbf94ff221fd14458aec0d427b566a03456a701f6 (patch)
tree305e0eb41b2443d4d9b7486f9f9d975519b51acd /mk/patch
parentcd0c7b97d9d444398052fda080c871f893b98132 (diff)
downloadpkgsrc-bf94ff221fd14458aec0d427b566a03456a701f6.tar.gz
Don't print the message for the distribution patches if there aren't any.
Diffstat (limited to 'mk/patch')
-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