aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk6/Makefile')
-rw-r--r--java/openjdk6/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/openjdk6/Makefile b/java/openjdk6/Makefile
index dbf42ededbb6..fca6e7df4e78 100644
--- a/java/openjdk6/Makefile
+++ b/java/openjdk6/Makefile
@@ -240,6 +240,13 @@ post-patch:
@${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 \
+ ${WRKSRC}/jdk/make/sun/splashscreen/Makefile \
+ ${WRKSRC}/jdk/make/java/npt/Makefile \
+ ${WRKSRC}/jdk/make/java/instrument/Makefile
+.endif
post-build:
.if ${PORT_OPTIONS:MTZUPDATE}