svn commit: r356725 - head/www/jericho-html
Jung-uk Kim
jkim at FreeBSD.org
Fri Jun 6 00:27:32 UTC 2014
Author: jkim
Date: Fri Jun 6 00:27:32 2014
New Revision: 356725
URL: http://svnweb.freebsd.org/changeset/ports/356725
QAT: https://qat.redports.org/buildarchive/r356725/
Log:
Fix build with JDK7 and later.
Reported by: exp-run (PR190511)
Modified:
head/www/jericho-html/Makefile
Modified: head/www/jericho-html/Makefile
==============================================================================
--- head/www/jericho-html/Makefile Fri Jun 6 00:17:52 2014 (r356724)
+++ head/www/jericho-html/Makefile Fri Jun 6 00:27:32 2014 (r356725)
@@ -10,7 +10,7 @@ MAINTAINER= saper at 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)
More information about the svn-ports-all
mailing list