summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2013-12-27 04:32:45 +0000
committerGreg Lewis <glewis@FreeBSD.org>2013-12-27 04:32:45 +0000
commit152acbd8141ca81c737133ee8d9ba75063cfa52f (patch)
tree3a243a28d77ef6954af7de2763d301ff90ce87ff /java
parentUliweb is a Python based web framework. (diff)
. Fix the POLICY option to actually install the unlimited strength policy
files again. PR: 185015 Submitted by: Phil Phillips <pphillips@experts-exchange.com>
Notes
Notes: svn path=/head/; revision=337641
Diffstat (limited to 'java')
-rw-r--r--java/openjdk7/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/java/openjdk7/Makefile b/java/openjdk7/Makefile
index aca4e6eef54e..0ad12b19e17f 100644
--- a/java/openjdk7/Makefile
+++ b/java/openjdk7/Makefile
@@ -3,6 +3,7 @@
PORTNAME= openjdk
PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER}
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \
http://download.java.net/jaxp/1.4.5/:jaxp \
@@ -110,6 +111,10 @@ NO_STAGE= yes
MAKE_ENV+= ALT_OBJCOPY="/nonexistent"
.endif
+.if ${PORT_OPTIONS:MPOLICY}
+MAKE_ENV+= UNLIMITED_CRYPTO=1
+.endif
+
.if ${PORT_OPTIONS:MTZUPDATE}
RUN_DEPENDS+= ${LOCALBASE}/share/java/zi:${PORTSDIR}/java/java-zoneinfo
.endif
@@ -135,10 +140,6 @@ PATCH= gpatch
post-patch:
@${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \
${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp
-.if ${PORT_OPTIONS:MPOLICY}
- @${REINPLACE_CMD} 's|build-policy install-limited|build-policy install-unlimited|' \
- ${WRKSRC}/jdk/make/javax/crypto/Makefile
-.endif
.if empty(ICONV_LIB)
@${REINPLACE_CMD} 's| -liconv||' \
${WRKSRC}/Makefile \