From 2e54c13f52acac9dfbe7ba655b9a6e8c23f4e9f3 Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 6 Jan 2003 22:29:23 +0000 Subject: use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not in the base system. --- mk/defs.SunOS.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mk/defs.SunOS.mk') 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 -- cgit v1.2.3