summaryrefslogtreecommitdiff
path: root/net/airportbasestationconfig
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-03-31 20:25:04 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-03-31 20:25:04 +0000
commit090758c9bafb674f1873f920f993f7f6746f56c0 (patch)
tree7da70cebf4bed9abc50533412903a32b0185f259 /net/airportbasestationconfig
parentbdaa29be3bfe0fc0c6ca06ed9dc05010b32aab61 (diff)
downloadpkgsrc-090758c9bafb674f1873f920f993f7f6746f56c0.tar.gz
add an explicit ONLY_FOR_PLATFORM for i386 and powerpc rather than relying
on a malformed conditional (when PKG_JVM is not set). Also add a dummy entry for PKG_JVM on non-{i386,powerpc} platforms. This lets you still do things like 'make show-var VARNAME=PKGNAME' even on unsupported platforms.
Diffstat (limited to 'net/airportbasestationconfig')
-rw-r--r--net/airportbasestationconfig/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/airportbasestationconfig/Makefile b/net/airportbasestationconfig/Makefile
index 32d876ba98f..0a844d8aa5e 100644
--- a/net/airportbasestationconfig/Makefile
+++ b/net/airportbasestationconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/03/29 15:41:46 tron Exp $
+# $NetBSD: Makefile,v 1.11 2002/03/31 20:25:04 dmcmahill Exp $
DISTNAME= configurator_152
PKGNAME= ${BINNAME}-1.5.2
@@ -14,6 +14,8 @@ USE_JAVA= YES
PLIST_SUBST+= BINNAME=${BINNAME} JARNAME=${JARNAME}
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc
+
BINNAME= airportbasestationconfig
DOCDIR= ${PREFIX}/share/doc/${BINNAME}
JARNAME= AirportBaseStationConfig.jar
@@ -26,6 +28,8 @@ LIBDIR= ${PREFIX}/lib/${BINNAME}
PKG_JVM= sun-jdk
.elif ${MACHINE_ARCH} == powerpc
PKG_JVM= blackdown-jdk13
+.else
+PKG_JVM= none
.endif
.if ${PKG_JVM} == blackdown-jdk13