summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authortron <tron>2001-06-21 05:48:29 +0000
committertron <tron>2001-06-21 05:48:29 +0000
commit26064fbae2eae024dce48e6b9237c632a1f69af6 (patch)
treed118d62afca6aaa1e66884f04b7aae6d9674366e /mk/bsd.pkg.mk
parent8b290f1bf069b5c7a3f0e17f4fd14cc86725740c (diff)
downloadpkgsrc-26064fbae2eae024dce48e6b9237c632a1f69af6.tar.gz
The GNU patch used under Solaris doesn't understand "-b .orig", use
"-z .orig" instead.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 2af8f798069..d81590a3f8c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.767 2001/06/21 04:52:56 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.768 2001/06/21 05:48:29 tron Exp $
#
# This file is in the public domain.
#
@@ -356,7 +356,11 @@ PATCH_DIST_ARGS?= -d ${WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP}
PATCH_ARGS+= --batch
PATCH_DIST_ARGS+= --batch
.endif
+.if (${OPSYS} == "SunOS")
+PATCH_ARGS+= -V simple -z .orig
+.else
PATCH_ARGS+= -V simple -b .orig
+.endif
PATCH_FUZZ_FACTOR?= -F0 # Default to zero fuzz
# If the distfile has a tar.bz2 suffix, use bzcat in preference to gzcat,