1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build with JDK7 and later.

Reported by:	exp-run (PR190511)
This commit is contained in:
Jung-uk Kim 2014-06-06 00:27:32 +00:00
parent f1ee58fa3c
commit b72cc842ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356725

View File

@ -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)