diff options
author | schmonz <schmonz> | 2002-07-28 12:34:37 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2002-07-28 12:34:37 +0000 |
commit | a241c146e3b9c9fe1c956228520a7b0981ffd5b3 (patch) | |
tree | 9f0d8d5564a6937b26d6516769da0ab988df72ae /lang | |
parent | 10c66ea96a0ed70c6c635a3bc117179043893e25 (diff) | |
download | pkgsrc-a241c146e3b9c9fe1c956228520a7b0981ffd5b3.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/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 |