aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-09-11 03:15:11 +0800
committerjkim <jkim@FreeBSD.org>2012-09-11 03:15:11 +0800
commitd96d2f12758c212cd02faa1dfa9075e9aa00dbe0 (patch)
treefd55b7870aeb67bc33c0d96176b40c3d9ed67414 /java
parentb9b8e794d787672e70b3e05685a9d9ebde998f29 (diff)
downloadfreebsd-ports-gnome-d96d2f12758c212cd02faa1dfa9075e9aa00dbe0.tar.gz
freebsd-ports-gnome-d96d2f12758c212cd02faa1dfa9075e9aa00dbe0.tar.zst
freebsd-ports-gnome-d96d2f12758c212cd02faa1dfa9075e9aa00dbe0.zip
- Add perl as a build dependency.
- Fix perl path for javac wrapper. [1] PR: ports/170772 [1]
Diffstat (limited to 'java')
-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