. Bump PORTREVISION for the previous fix for jar(1).
. Don't build the plugin by default as it has security flaws.
This commit is contained in:
parent
85d91b0060
commit
6519b90663
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134276
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= jdk
|
PORTNAME= jdk
|
||||||
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
CATEGORIES= java devel
|
CATEGORIES= java devel
|
||||||
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
||||||
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
|
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
|
||||||
@ -21,7 +21,7 @@ COMMENT= Java Development Kit 1.3
|
|||||||
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
|
||||||
zip:${PORTSDIR}/archivers/zip \
|
zip:${PORTSDIR}/archivers/zip \
|
||||||
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif
|
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif
|
||||||
.if !defined(WITHOUT_PLUGIN)
|
.if defined(WITH_PLUGIN)
|
||||||
FORBIDDEN= Vulnerabilities in the browser plugin
|
FORBIDDEN= Vulnerabilities in the browser plugin
|
||||||
LIB_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \
|
LIB_DEPENDS= glib12.3:$(PORTSDIR)/devel/glib12 \
|
||||||
gtk12.2:$(PORTSDIR)/x11-toolkits/gtk12 \
|
gtk12.2:$(PORTSDIR)/x11-toolkits/gtk12 \
|
||||||
@ -60,13 +60,13 @@ MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
|||||||
CLASSPATH="" \
|
CLASSPATH="" \
|
||||||
LD_LIBRARY_PATH="" \
|
LD_LIBRARY_PATH="" \
|
||||||
JAVA_COMPILER=""
|
JAVA_COMPILER=""
|
||||||
.if !defined(WITHOUT_PLUGIN)
|
.if defined(WITH_PLUGIN)
|
||||||
MAKE_ENV += LIBG_HDRS="${LOCALBASE}/include/glib12" \
|
MAKE_ENV += LIBG_HDRS="${LOCALBASE}/include/glib12" \
|
||||||
GTK_HDRS="${X11BASE}/include/gtk12" \
|
GTK_HDRS="${X11BASE}/include/gtk12" \
|
||||||
LIBIDL_HDRS= \
|
LIBIDL_HDRS= \
|
||||||
INTL_DIR="${LOCALBASE}"
|
INTL_DIR="${LOCALBASE}"
|
||||||
.endif
|
.endif
|
||||||
.if !defined(WITHOUT_PLUGIN)
|
.if defined(WITH_PLUGIN)
|
||||||
ALL_TARGET= all plugin images
|
ALL_TARGET= all plugin images
|
||||||
.else
|
.else
|
||||||
ALL_TARGET= all images
|
ALL_TARGET= all images
|
||||||
@ -90,10 +90,10 @@ MAKE_ARGS+= HPIS="green native"
|
|||||||
PLIST_SUB+= NATIVE:="@comment "
|
PLIST_SUB+= NATIVE:="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITHOUT_PLUGIN)
|
.if defined(WITH_PLUGIN)
|
||||||
PLIST_SUB+= PLUGIN:="@comment "
|
|
||||||
.else
|
|
||||||
PLIST_SUB+= PLUGIN:=""
|
PLIST_SUB+= PLUGIN:=""
|
||||||
|
.else
|
||||||
|
PLIST_SUB+= PLUGIN:="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_HOTSPOT)
|
.if defined(WITH_HOTSPOT)
|
||||||
@ -297,7 +297,7 @@ post-install:
|
|||||||
${RM} -rf ${PREFIX}/jdk${JDK_VERSION}/jre/bin/i386/native_threads
|
${RM} -rf ${PREFIX}/jdk${JDK_VERSION}/jre/bin/i386/native_threads
|
||||||
.endif
|
.endif
|
||||||
@${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}"
|
@${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}"
|
||||||
.if !defined(WITHOUT_PLUGIN)
|
.if defined(WITH_PLUGIN)
|
||||||
@${ECHO_MSG}
|
@${ECHO_MSG}
|
||||||
@${ECHO_MSG} To use the Java plugin with Mozilla you must create a
|
@${ECHO_MSG} To use the Java plugin with Mozilla you must create a
|
||||||
@${ECHO_MSG} symbolic link from
|
@${ECHO_MSG} symbolic link from
|
||||||
|
Loading…
Reference in New Issue
Block a user