summaryrefslogtreecommitdiff
path: root/mk/defs.SunOS.mk
diff options
context:
space:
mode:
authorgrant <grant>2003-01-06 22:29:23 +0000
committergrant <grant>2003-01-06 22:29:23 +0000
commit2e54c13f52acac9dfbe7ba655b9a6e8c23f4e9f3 (patch)
tree2fe0d62cfb3fea9b7d546ed432581982d4ecc2ff /mk/defs.SunOS.mk
parent976148b3656922ff2e8a3d64b79f6690363721a8 (diff)
downloadpkgsrc-2e54c13f52acac9dfbe7ba655b9a6e8c23f4e9f3.tar.gz
use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not in
the base system.
Diffstat (limited to 'mk/defs.SunOS.mk')
-rw-r--r--mk/defs.SunOS.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index a3e133b2319..60d5bcb6c7d 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.49 2002/12/22 10:09:46 salo Exp $
+# $NetBSD: defs.SunOS.mk,v 1.50 2003/01/06 22:29:23 grant Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -55,6 +55,8 @@ MV?= /usr/bin/mv
NICE?= /usr/xpg4/bin/nice
.if exists(/usr/bin/gpatch)
PATCH?= /usr/bin/gpatch -b
+.elif exists(${LOCALBASE}/bin/gpatch)
+PATCH?= ${LOCALBASE}/bin/gpatch -b
.else
PATCH?= ${LOCALBASE}/bin/patch -b
.endif