summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-29 10:22:01 +0000
committergrant <grant@pkgsrc.org>2004-01-29 10:22:01 +0000
commitbe21271b07fa4e5b320ae4ae82401a119e154aae (patch)
tree11ebe683924c9cef4def3f3dd7340cf91cd0452f /mk
parent4d24d7a1f8f565b69ea9730f030b629bafdecb9e (diff)
downloadpkgsrc-be21271b07fa4e5b320ae4ae82401a119e154aae.tar.gz
let tools.mk decide whether GNU patch is needed.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 0e259efa7b5..8bd475879d0 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1364 2004/01/29 09:38:10 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1365 2004/01/29 10:22:01 grant Exp $
#
# This file is in the public domain.
#
@@ -469,7 +469,7 @@ _NEED_PATCH!= if [ -d ${PATCHDIR} ]; then \
_NEED_PATCH= YES
.endif
-.if ${_NEED_PATCH} == "YES" && !exists(${PATCH:C|-.*||}) && empty(PKGPATH:Mdevel/patch)
+.if ${_NEED_PATCH} == "YES"
USE_GNU_TOOLS+= patch
.endif