aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk7
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-03-05 20:59:50 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-03-05 20:59:50 +0000
commit4264a8f23c93c528c581503934c8730a2211d41c (patch)
treeec24812db3df5f97ed51ce7650c7544f1f9967b2 /java/openjdk7
parent0806784e422fa549c8a3d24a3062ef1f581423eb (diff)
downloadports-4264a8f23c93c528c581503934c8730a2211d41c.tar.gz
ports-4264a8f23c93c528c581503934c8730a2211d41c.zip
Notes
Diffstat (limited to 'java/openjdk7')
-rw-r--r--java/openjdk7/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/java/openjdk7/Makefile b/java/openjdk7/Makefile
index 053d6b9691b9..234b01a31d81 100644
--- a/java/openjdk7/Makefile
+++ b/java/openjdk7/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openjdk
PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER}
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= java devel
MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \
@@ -138,6 +138,12 @@ PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel/patch
PATCH= gpatch
.endif
+.include <bsd.port.pre.mk>
+
+.if empty(ICONV_LIB)
+MAKE_ENV+= EXTRA_CFLAGS=-DLIBICONV_PLUG
+.endif
+
post-patch:
@${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \
${WRKSRC}/hotspot/src/os/bsd/vm/os_bsd.cpp
@@ -180,4 +186,4 @@ post-install:
# Register the VM
"${LOCALBASE}/bin/registervm" "${INSTALLDIR}/bin/java # OpenJDK${JDK_MAJOR_VERSION}"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>