summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-14 03:17:25 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-14 03:17:25 +0000
commit6847a980f9de56b5291a9aac51ff752c93d23b7c (patch)
tree9e2e7c5361beec4b1802d8d1ea60321e1af3b037
parentd63e0a1d596505f80d736dde6791656c99fb5331 (diff)
downloadpkgsrc-6847a980f9de56b5291a9aac51ff752c93d23b7c.tar.gz
Don't pick up GNU patch on Darwin, Linux and SunOS. It has a number of
restrictions including line length, asymmetric context and interaction with read-only patches. It is just not worth the trouble.
-rw-r--r--mk/tools/tools.Darwin.mk5
-rw-r--r--mk/tools/tools.Linux.mk7
-rw-r--r--mk/tools/tools.SunOS.mk10
3 files changed, 11 insertions, 11 deletions
diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk
index 89989e362a4..79dc12a13bc 100644
--- a/mk/tools/tools.Darwin.mk
+++ b/mk/tools/tools.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.43 2010/11/09 07:57:16 adam Exp $
+# $NetBSD: tools.Darwin.mk,v 1.44 2011/12/14 03:17:25 joerg Exp $
#
# System-supplied tools for the Darwin (Mac OS X) operating system.
@@ -78,7 +78,8 @@ TOOLS_PLATFORM.mv?= /bin/mv
TOOLS_PLATFORM.nice?= /usr/bin/nice
TOOLS_PLATFORM.nroff?= /usr/bin/nroff
TOOLS_PLATFORM.openssl?= /usr/bin/openssl
-TOOLS_PLATFORM.patch?= /usr/bin/patch
+# Don't use GNU patch
+#TOOLS_PLATFORM.patch?= /usr/bin/patch
TOOLS_PLATFORM.printf?= /usr/bin/printf
TOOLS_PLATFORM.pwd?= /bin/pwd
TOOLS_PLATFORM.rm?= /bin/rm
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk
index f7735c829e0..c00c91cecec 100644
--- a/mk/tools/tools.Linux.mk
+++ b/mk/tools/tools.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.47 2010/02/13 08:30:59 obache Exp $
+# $NetBSD: tools.Linux.mk,v 1.48 2011/12/14 03:17:25 joerg Exp $
#
# System-supplied tools for the Linux operating system.
@@ -190,9 +190,8 @@ TOOLS_PLATFORM.nroff?= /usr/bin/nroff
.if exists(/usr/bin/openssl)
TOOLS_PLATFORM.openssl?= /usr/bin/openssl
.endif
-.if exists(/usr/bin/patch)
-TOOLS_PLATFORM.patch?= /usr/bin/patch
-.endif
+# Don't use GNU patch
+#TOOLS_PLATFORM.patch?= /usr/bin/patch
.if exists(/usr/bin/printf)
TOOLS_PLATFORM.printf?= /usr/bin/printf
.endif
diff --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk
index bc4bc10fe01..e62206dd53d 100644
--- a/mk/tools/tools.SunOS.mk
+++ b/mk/tools/tools.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.SunOS.mk,v 1.35 2011/10/04 13:08:42 hans Exp $
+# $NetBSD: tools.SunOS.mk,v 1.36 2011/12/14 03:17:25 joerg Exp $
#
# System-supplied tools for the Solaris operating system.
#
@@ -153,10 +153,10 @@ TOOLS_PLATFORM.nroff?= /usr/bin/gnroff
.if exists(/usr/bin/openssl)
TOOLS_PLATFORM.openssl?= /usr/bin/openssl
.endif
-.if exists(/usr/bin/gpatch)
-TOOLS_PLATFORM.gpatch?= /usr/bin/gpatch
-TOOLS_PLATFORM.patch?= /usr/bin/gpatch
-.endif
+# Don't use GNU patch
+#TOOLS_PLATFORM.gpatch?= /usr/bin/gpatch
+#TOOLS_PLATFORM.patch?= /usr/bin/gpatch
+
#.if exists(/usr/bin/perl)
#TOOLS_PLATFORM.perl?= /usr/bin/perl
#TOOLS_PLATFORM.pod2man?= /usr/perl5/bin/pod2man