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 ...
This commit is contained in:
parent
0ca6404257
commit
cd92bcbc65
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue