summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-07-28 12:34:37 +0000
committerschmonz <schmonz>2002-07-28 12:34:37 +0000
commita1a5780f1fc9cf9a68cf6bd70ece92b79554cce3 (patch)
tree9f0d8d5564a6937b26d6516769da0ab988df72ae /lang
parent665fb4171134b2d70d7a0ed8b4d30017dbc51f31 (diff)
downloadpkgsrc-a1a5780f1fc9cf9a68cf6bd70ece92b79554cce3.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')
-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