summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-07-28 12:34:37 +0000
committerschmonz <schmonz@pkgsrc.org>2002-07-28 12:34:37 +0000
commita4f89299e16815526262e92a2735d0816076acda (patch)
tree9f0d8d5564a6937b26d6516769da0ab988df72ae
parent12f234e74000cc5d0aa5960a9a871fb8c2023512 (diff)
downloadpkgsrc-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.
-rw-r--r--lang/blackdown-jdk13/Makefile7
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