diff options
author | grant <grant@pkgsrc.org> | 2003-01-06 22:29:23 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-01-06 22:29:23 +0000 |
commit | 01eae24936d560155935dae581edc8b87f1bdb43 (patch) | |
tree | 2fe0d62cfb3fea9b7d546ed432581982d4ecc2ff /mk | |
parent | 33d69eb95cefcc2cccaeb9829b11a8e6424f0336 (diff) | |
download | pkgsrc-01eae24936d560155935dae581edc8b87f1bdb43.tar.gz |
use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not in
the base system.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.SunOS.mk | 4 |
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 |