summaryrefslogtreecommitdiff
path: root/mk/patch
diff options
context:
space:
mode:
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