summaryrefslogtreecommitdiff
path: root/devel/patch
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-10-24 19:47:13 +0000
committerhubertf <hubertf@pkgsrc.org>2000-10-24 19:47:13 +0000
commitcd92bcbc650df965bc41fabc1df501d06515da06 (patch)
treebb561e2a375b0a24a6a94df305a5a332bbdf08e9 /devel/patch
parent0ca640425791de952fd16466103cc6e03af630cd (diff)
downloadpkgsrc-cd92bcbc650df965bc41fabc1df501d06515da06.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/Makefile7
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