diff --git a/java/jai-imageio/Makefile b/java/jai-imageio/Makefile index 25102830e602..57eababa1627 100644 --- a/java/jai-imageio/Makefile +++ b/java/jai-imageio/Makefile @@ -33,7 +33,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message IGNORE= "You must manually fetch the \"Linux Install\" distribution \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again" .endif -.if ${JAVA_OS} == "FreeBSD" +.if ${JAVA_PORT_OS} == "native" WITH_PLUGINWRAPPER= yes RUN_DEPENDS+= ${LOCALBASE}/lib/pluginwrapper/jai.so:${PORTSDIR}/www/linuxpluginwrapper .endif diff --git a/java/jai/Makefile b/java/jai/Makefile index de12fff26556..dcca31befd2b 100644 --- a/java/jai/Makefile +++ b/java/jai/Makefile @@ -35,7 +35,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message IGNORE= "You must manually fetch the \"Linux CLASSPATH Install\" distribution \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again" .endif -.if ${JAVA_OS} == "FreeBSD" +.if ${JAVA_PORT_OS} == "FreeBSD" WITH_PLUGINWRAPPER= yes RUN_DEPENDS+= ${LOCALBASE}/lib/pluginwrapper/jai.so:${PORTSDIR}/www/linuxpluginwrapper .endif diff --git a/java/java3d/Makefile b/java/java3d/Makefile index 7f5675dd0043..98cedebe0dfb 100644 --- a/java/java3d/Makefile +++ b/java/java3d/Makefile @@ -36,7 +36,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message .include -.if ${JAVA_OS} == "FreeBSD" +.if ${JAVA_PORT_OS} == "native" WITH_PLUGINWRAPPER= yes RUN_DEPENDS+= ${LOCALBASE}/lib/pluginwrapper/java3d.so:${PORTSDIR}/www/linuxpluginwrapper .endif