Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 94bcc02692
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (34 sloc) 1.297 kB
# $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
Jump to Line
Something went wrong with that request. Please try again.