From e75efb5fe9a027f3dcb087716c0db4c5e57426d1 Mon Sep 17 00:00:00 2001 From: jkim Date: Fri, 6 Jun 2014 00:27:32 +0000 Subject: Fix build with JDK7 and later. Reported by: exp-run (PR190511) --- www/jericho-html/Makefile | 5 +++-- 1 file 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) -- cgit