aboutsummaryrefslogtreecommitdiffstats
path: root/java/diablo-jdk15
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2006-09-11 23:49:08 +0800
committerglewis <glewis@FreeBSD.org>2006-09-11 23:49:08 +0800
commite264a099a18d9418fae31d5dfbd21c0fce0b2a88 (patch)
tree2e29b6edd6f199d633d907347751d3d09bba9d21 /java/diablo-jdk15
parenta59b0013d3596695c2e2a6b86e6f38b74fe27bd6 (diff)
downloadfreebsd-ports-gnome-e264a099a18d9418fae31d5dfbd21c0fce0b2a88.tar.gz
freebsd-ports-gnome-e264a099a18d9418fae31d5dfbd21c0fce0b2a88.tar.zst
freebsd-ports-gnome-e264a099a18d9418fae31d5dfbd21c0fce0b2a88.zip
. Note that FreeBSD 5.x/amd64 isn't support (6.x/amd64 is). [1]
. Only set IGNORE to the "fetch the distribution" message if there is actually one to fetch. Pointed out by: pointyhat (via kris@) [1]
Diffstat (limited to 'java/diablo-jdk15')
-rw-r--r--java/diablo-jdk15/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/diablo-jdk15/Makefile b/java/diablo-jdk15/Makefile
index 9c47335897eb..3d2f50bc6b29 100644
--- a/java/diablo-jdk15/Makefile
+++ b/java/diablo-jdk15/Makefile
@@ -44,10 +44,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.if ${OSVERSION} >= 600000
JDK_OSREL=freebsd6
-.elif ${OSVERSION} >= 500000
+.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
JDK_OSREL=freebsd5
.else
-IGNORE= Only available for FreeBSD 5.x and later
+IGNORE= Only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if ${ARCH} == "i386"
@@ -58,7 +58,7 @@ PLIST_SUB+= WEB="@comment "
PLIST_SUB+= CLIENTVM="@comment "
.endif
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) && defined(JDK_OSREL)
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
Because of licensing restrictions, you must fetch the distribution\n\