aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-06-06 08:27:32 +0800
committerjkim <jkim@FreeBSD.org>2014-06-06 08:27:32 +0800
commite75efb5fe9a027f3dcb087716c0db4c5e57426d1 (patch)
treece2e086b496ba7aa21ef1a579bf23d11ce150c61
parentc6c6c5eb01ae4d2f70d9c75244d3e1cdeacc8230 (diff)
downloadfreebsd-ports-gnome-e75efb5fe9a027f3dcb087716c0db4c5e57426d1.tar.gz
freebsd-ports-gnome-e75efb5fe9a027f3dcb087716c0db4c5e57426d1.tar.zst
freebsd-ports-gnome-e75efb5fe9a027f3dcb087716c0db4c5e57426d1.zip
Fix build with JDK7 and later.
Reported by: exp-run (PR190511)
-rw-r--r--www/jericho-html/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/jericho-html/Makefile b/www/jericho-html/Makefile
index 30f6067df6b3..799fe84bd813 100644
--- a/www/jericho-html/Makefile
+++ b/www/jericho-html/Makefile
@@ -10,7 +10,7 @@ MAINTAINER= saper@saper.info
COMMENT= Java library to analyse and manipulate HTML
USES= zip
-USE_JAVA= 1.6+
+USE_JAVA= yes
INTERFACES:= "compile-time-dependencies/slf4j-api-1.6.1.jar:\
compile-time-dependencies/commons-logging-api-1.1.1.jar:\
@@ -20,7 +20,8 @@ PORTDOCS= *
PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}.jar
do-build:
- (cd ${WRKSRC} && ${RM} -rf classes/* && ${JAVAC} \
+ (cd ${WRKSRC} && ${RM} -rf classes/* && ${SETENV} \
+ LANG=en_US.ISO8859-1 ${JAVAC} \
-classpath ${INTERFACES:S, ,,g} \
-d classes src/java/net/htmlparser/jericho/*.java \
src/java/net/htmlparser/jericho/nodoc/*.java)