diff options
author | grant <grant@pkgsrc.org> | 2004-01-22 07:57:11 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-22 07:57:11 +0000 |
commit | 5d46defdbae242e469bc305f565556ba5bde7e0f (patch) | |
tree | c5712e7064bde6c10244d5c0f2520dc7652af6ea /cross | |
parent | ef741f8a1a08d590450d8e8035fe7387b1bd573a (diff) | |
download | pkgsrc-5d46defdbae242e469bc305f565556ba5bde7e0f.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 |