summaryrefslogtreecommitdiffstats
path: root/java/diablo-jre15
diff options
context:
space:
mode:
Diffstat (limited to 'java/diablo-jre15')
-rw-r--r--java/diablo-jre15/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/diablo-jre15/Makefile b/java/diablo-jre15/Makefile
index 59b49c2..ce7db7e 100644
--- a/java/diablo-jre15/Makefile
+++ b/java/diablo-jre15/Makefile
@@ -44,10 +44,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.if ${OSVERSION} >= 600000
JRE_OSREL=freebsd6
-.elif ${OSVERSION} >= 500000
+.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
JRE_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(JRE_OSREL)
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
Because of licensing restrictions, you must fetch the distribution\n\
OpenPOWER on IntegriCloud