aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2006-09-11 15:49:08 +0000
committerGreg Lewis <glewis@FreeBSD.org>2006-09-11 15:49:08 +0000
commit9e56b4ae6fbe12c4a534ea55c5d35302fa8012cd (patch)
tree9fbc1952c27e0fa3665f9a08960fe6f85ad9c6cd /java
parent968e984766f9781cdf9bc972496446816448dfbe (diff)
downloadports-9e56b4ae6fbe12c4a534ea55c5d35302fa8012cd.tar.gz
ports-9e56b4ae6fbe12c4a534ea55c5d35302fa8012cd.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/diablo-jdk15/Makefile6
-rw-r--r--java/diablo-jre15/Makefile6
2 files changed, 6 insertions, 6 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\
diff --git a/java/diablo-jre15/Makefile b/java/diablo-jre15/Makefile
index 59b49c2e664d..ce7db7e5b66c 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\