diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-07-28 12:34:37 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-07-28 12:34:37 +0000 |
commit | a4f89299e16815526262e92a2735d0816076acda (patch) | |
tree | 9f0d8d5564a6937b26d6516769da0ab988df72ae /lang/blackdown-jdk13 | |
parent | 12f234e74000cc5d0aa5960a9a871fb8c2023512 (diff) | |
download | pkgsrc-a4f89299e16815526262e92a2735d0816076acda.tar.gz |
Shuffle logic to ensure that DISTNAME is always set, even on systems
unsupported by this JRE. In such cases, this avoids the error
message "CATEGORIES and DISTNAME are mandatory" and allows the
usual NOT_FOR_PLATFORM message to be displayed.
Diffstat (limited to 'lang/blackdown-jdk13')
-rw-r--r-- | lang/blackdown-jdk13/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/blackdown-jdk13/Makefile b/lang/blackdown-jdk13/Makefile index a2260a2138a..b0e27e9e1b8 100644 --- a/lang/blackdown-jdk13/Makefile +++ b/lang/blackdown-jdk13/Makefile @@ -1,15 +1,14 @@ -# $NetBSD: Makefile,v 1.8 2002/07/27 22:45:08 jschauma Exp $ +# $NetBSD: Makefile,v 1.9 2002/07/28 12:34:37 schmonz Exp $ # BASENAME= j2sdk +DISTNAME= ${EXTNAME}-${MACHINE_ARCH} PKGNAME= blackdown-jdk13-1 PKGREVISION= 1 DEPENDS= blackdown-jre13>=1:../../lang/blackdown-jre13 -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc" -DISTNAME= ${EXTNAME}-${MACHINE_ARCH} -.elif ${MACHINE_ARCH} == "powerpc" +.if ${MACHINE_ARCH} == "powerpc" DISTNAME= ${EXTNAME}-ppc DEPENDS+= linuxppc_lib>=2000.4.2:../../emulators/linuxppc_lib .endif |