diff --git a/java/linux-sun-jdk15/Makefile b/java/linux-sun-jdk15/Makefile index 830e17fd6995..cee762130cd5 100644 --- a/java/linux-sun-jdk15/Makefile +++ b/java/linux-sun-jdk15/Makefile @@ -40,10 +40,12 @@ APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${JDK_VERSION} PACKED_JARS= lib/tools.jar jre/lib/rt.jar jre/lib/jsse.jar jre/lib/charsets.jar jre/lib/ext/localedata.jar jre/lib/plugin.jar jre/javaws/javaws.jar UNPACK_CMD= ${APP_HOME}/bin/unpack200 -IGNORE= does not run (core dumps: Bad System Call) - .include +.if ${OSVERSION} < 504000 +IGNORE= does not run (core dumps: Bad System Call) +.endif + .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) IGNORE?=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again .endif diff --git a/java/linux-sun-jdk16/Makefile b/java/linux-sun-jdk16/Makefile index 830e17fd6995..cee762130cd5 100644 --- a/java/linux-sun-jdk16/Makefile +++ b/java/linux-sun-jdk16/Makefile @@ -40,10 +40,12 @@ APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}${PORTNAME}${JDK_VERSION} PACKED_JARS= lib/tools.jar jre/lib/rt.jar jre/lib/jsse.jar jre/lib/charsets.jar jre/lib/ext/localedata.jar jre/lib/plugin.jar jre/javaws/javaws.jar UNPACK_CMD= ${APP_HOME}/bin/unpack200 -IGNORE= does not run (core dumps: Bad System Call) - .include +.if ${OSVERSION} < 504000 +IGNORE= does not run (core dumps: Bad System Call) +.endif + .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) IGNORE?=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again .endif