aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk6/Makefile
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2010-01-26 17:11:33 +0000
committerAlex Dupre <ale@FreeBSD.org>2010-01-26 17:11:33 +0000
commit6c72851f52a4818065e7eff39854e7400da0dd13 (patch)
tree579554c64cb8e837304f56523187b1cca72e7ef4 /java/openjdk6/Makefile
parent759db3f6466fd2512460c0580ae1e2b4aca1781f (diff)
downloadports-6c72851f52a4818065e7eff39854e7400da0dd13.tar.gz
ports-6c72851f52a4818065e7eff39854e7400da0dd13.zip
Notes
Diffstat (limited to 'java/openjdk6/Makefile')
-rw-r--r--java/openjdk6/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/openjdk6/Makefile b/java/openjdk6/Makefile
index efdc0e736419..bcdeac9d5cf7 100644
--- a/java/openjdk6/Makefile
+++ b/java/openjdk6/Makefile
@@ -7,7 +7,7 @@
PORTNAME= openjdk6
PORTVERSION= b17
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \
${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,} \
@@ -184,8 +184,10 @@ post-extract:
> ${WRKDIR}/jdk/test/Makefile
@${FIND} ${WRKDIR}/jdk/test -type f -name \*.sh -exec ${SED} -i "" -e s/Linux/FreeBSD/g {} \;
-.if defined(WITH_POLICY)
post-patch:
+ @${REINPLACE_CMD} "s|/lib:/usr/lib|/lib:/usr/lib:${LOCALBASE}/lib|" \
+ ${WRKDIR}/hotspot/src/os/bsd/vm/os_bsd.cpp
+.if defined(WITH_POLICY)
@${REINPLACE_CMD} 's|build-policy install-limited|build-policy install-unlimited|' \
${WRKSRC}/jdk/make/javax/crypto/Makefile
.endif