diff options
author | grant <grant> | 2003-02-26 03:02:59 +0000 |
---|---|---|
committer | grant <grant> | 2003-02-26 03:02:59 +0000 |
commit | 37446f3db69c65d4013261104d9619a7a7ac7545 (patch) | |
tree | 3ed2bd05697b342a63c465dac540a8b2012294f8 /mk | |
parent | e72879b24d96265b65a4f039cc33b63443a46859 (diff) | |
download | pkgsrc-37446f3db69c65d4013261104d9619a7a7ac7545.tar.gz |
prefer PREFIX/bin/pax if it exists.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.Darwin.mk | 6 | ||||
-rw-r--r-- | mk/defs.FreeBSD.mk | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk index 44d409f7e72..5d8ec261f4b 100644 --- a/mk/defs.Darwin.mk +++ b/mk/defs.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Darwin.mk,v 1.45 2003/02/24 19:49:47 jschauma Exp $ +# $NetBSD: defs.Darwin.mk,v 1.46 2003/02/26 03:02:59 grant Exp $ # # Variable definitions for the Darwin operating system. @@ -38,7 +38,11 @@ MTREE?= /usr/sbin/mtree MV?= /bin/mv NICE?= /usr/bin/nice PATCH?= /usr/bin/patch +.if exists(${LOCALBASE}/bin/pax) +PAX?= ${LOCALBASE}/bin/pax +.else PAX?= /bin/pax +.endif PERL5?= ${LOCALBASE}/bin/perl PKGLOCALEDIR?= share PS?= /bin/ps diff --git a/mk/defs.FreeBSD.mk b/mk/defs.FreeBSD.mk index 9bdf07b705b..6a1ab17f92f 100644 --- a/mk/defs.FreeBSD.mk +++ b/mk/defs.FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.FreeBSD.mk,v 1.16 2003/02/21 12:01:00 grant Exp $ +# $NetBSD: defs.FreeBSD.mk,v 1.17 2003/02/26 03:02:59 grant Exp $ # # Variable definitions for the FreeBSD operating system. @@ -46,7 +46,11 @@ MTREE?= /usr/sbin/mtree MV?= /bin/mv NICE?= /usr/bin/nice PATCH?= /usr/bin/patch +.if exists(${LOCALBASE}/bin/pax) +PAX?= ${LOCALBASE}/bin/pax +.else PAX?= /bin/pax +.endif PERL5?= ${LOCALBASE}/bin/perl PKGLOCALEDIR?= share PS?= /bin/ps |