19af254310
- based on openjdk7 b147 and the bsd-port branch as of 20110811. - integrates mozilla rhino 1.7R3 scripting support based on patches from icedtea7 snapshot as of 20110819. - refresh bootstrap kits - tested on NetBSD 5.0/current, i386/amd64 and DragonFlyBSD 2.10 i386. Upstream changes: mostly bugfixes. Perhaps also noteworthy is that the zero assembler port has been integrated which should open up for wider platform support in pkgsrc in the future.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: options.mk,v 1.3 2011/08/21 22:57:54 tnn Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.openjdk7
|
|
PKG_SUPPORTED_OPTIONS= sun-jre-jce # jdk-zero-vm
|
|
PKG_SUGGESTED_OPTIONS= #
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Java(TM) Cryptography Extension (JCE)
|
|
###
|
|
.if !empty(PKG_OPTIONS:Msun-jre-jce)
|
|
JCE_DISTFILE= UnlimitedJCEPolicyJDK7.zip
|
|
DISTFILES+= ${JCE_DISTFILE}
|
|
EXTRACT_ONLY+= ${JCE_DISTFILE}
|
|
PLIST.jce= yes
|
|
USE_TOOLS+= pax
|
|
#
|
|
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${JCE_DISTFILE})
|
|
FETCH_MESSAGE+= "Please download the Java(TM) Cryptography Extension (JCE) Unlimited"
|
|
FETCH_MESSAGE+= "Strength Jurisdiction Policy Files 7 '${JCE_DISTFILE}' from:"
|
|
FETCH_MESSAGE+= " http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
|
|
FETCH_MESSAGE+= " and place it in:"
|
|
FETCH_MESSAGE+= " ${DISTDIR}/${DIST_SUBDIR}/${JCE_DISTFILE}"
|
|
FETCH_MESSAGE+= ""
|
|
FETCH_MESSAGE+= " Then resume this build by running '"${MAKE:Q}"' again."
|
|
.endif
|
|
#
|
|
post-install:
|
|
cd ${WRKDIR}/UnlimitedJCEPolicy && pax -rw -pp . ${DESTDIR}${JAVA_HOME}/jre/lib/security
|
|
.endif
|
|
|
|
# this option builds a JVM without assembly optimisation. Useful for porting.
|
|
# NOTE: This is work in progress.
|
|
.if !empty(PKG_OPTIONS:Mjdk-zero-vm)
|
|
MAKE_ENV+= ZERO_BUILD=true
|
|
.include "../../devel/libffi/buildlink3.mk"
|
|
.endif
|