diff options
author | grant <grant> | 2004-01-22 07:57:11 +0000 |
---|---|---|
committer | grant <grant> | 2004-01-22 07:57:11 +0000 |
commit | 00b9da9ea5b897a08b58b91e9a74702be90596b4 (patch) | |
tree | c5712e7064bde6c10244d5c0f2520dc7652af6ea /cross | |
parent | 956a2e42f8a4c3153b2111ce38685282b51e6799 (diff) | |
download | pkgsrc-00b9da9ea5b897a08b58b91e9a74702be90596b4.tar.gz |
don't assume the base system has bzcat, test for it and depend on
archivers/bzip2 if we don't have it.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/mipsEEel-netbsd/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cross/mipsEEel-netbsd/Makefile b/cross/mipsEEel-netbsd/Makefile index 251c71bef4e..339a85264c3 100644 --- a/cross/mipsEEel-netbsd/Makefile +++ b/cross/mipsEEel-netbsd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/01/22 07:54:07 grant Exp $ +# $NetBSD: Makefile,v 1.10 2004/01/22 07:57:11 grant Exp $ DISTNAME= cross-${TARGET_ARCH}-${DISTVERSION} TARGET_ARCH= mipsEEel-netbsd @@ -8,9 +8,15 @@ CATEGORIES+= cross lang MAINTAINER= tech-pkg@NetBSD.org COMMENT= Cross-compiler for NetBSD/PlayStation2 kernel -BZCAT= /usr/bin/bzcat USE_GNU_TOOLS+= make +.if exists(/usr/bin/bzcat) +BZCAT= /usr/bin/bzcat +.else +BZCAT= ${LOCALBASE}/bin/bzcat +BUILD_DEPENDS+= bzip2>=0.9.0b:../../archivers/bzip2 +.endif + # We don't use CROSSBASE because the binutils are not the same as binutils # for other cross compilers. #USE_CROSSBASE= yes |