aboutsummaryrefslogtreecommitdiff
path: root/java/icedtea-web
diff options
context:
space:
mode:
Diffstat (limited to 'java/icedtea-web')
-rw-r--r--java/icedtea-web/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index 26585b3fa905..68032408f244 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -22,6 +22,7 @@ USE_JAVA= yes
JAVA_OS= native
JAVA_VENDOR= openjdk
JAVA_VERSION= 1.6+
+USE_PERL5_BUILD=yes
USE_XORG= x11
OPTIONS_DEFINE= PLUGIN RHINO TEST
@@ -91,6 +92,7 @@ CONFIGURE_ARGS+=--with-junit=no
.endif
post-patch:
+ ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/javac.in
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/launcher/javaws.in