diff options
author | hubertf <hubertf> | 2000-10-24 19:47:13 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-10-24 19:47:13 +0000 |
commit | 61251d82d64af484077e0ec7cfff19d61f6bd664 (patch) | |
tree | bb561e2a375b0a24a6a94df305a5a332bbdf08e9 /devel/patch | |
parent | 492b96910b6e58dee562266767bb0d5b446e138c (diff) | |
download | pkgsrc-61251d82d64af484077e0ec7cfff19d61f6bd664.tar.gz |
Resolve chicken & egg problem when bootstrapping:
chicken == archivers/gtar-base (wants to apply patches)
egg == devel/patch (wants gtar to unpack)
Break out by using /usr/bin/tar if $GTAR is not installed.
Might be better in bsd.pkg.mk ...
Diffstat (limited to 'devel/patch')
-rw-r--r-- | devel/patch/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile index 4c606bf393c..b95c2a68c37 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2000/08/21 21:01:30 hubertf Exp $ +# $NetBSD: Makefile,v 1.4 2000/10/24 19:47:13 hubertf Exp $ # DISTNAME= patch-2.5.4 @@ -18,3 +18,8 @@ IGNORE= "${PKGNAME} is part of your NetBSD distribution" .endif .include "../../mk/bsd.pkg.mk" + +# Needed for bootstrapping pkgsrc! +.if !exists(${GTAR}) +GTAR= /usr/bin/tar # Solaris +.endif |