1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

. Force ant to use the selected JDK to build rather than what it was

built with.

Submitted by:	bento via kris
This commit is contained in:
Greg Lewis 2004-04-16 16:10:14 +00:00
parent 0238f2a0f4
commit 8999f05653
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107246

View File

@ -33,7 +33,8 @@ USE_GMAKE= yes
PLIST_FILES= bin/colorer lib/libcolorer.so
do-build:
@(cd ${WRKSRC} && ${ANT} ${ANT_TARGET} ; \
@(cd ${WRKSRC} && \
${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT} ${ANT_TARGET} ; \
cd distr/Colorer-take5-linux.beta2 ; \
${REINPLACE_CMD} -e "s|make -C|${GMAKE} -C|" Makefile.in ; \
${CHMOD} +x configure && ${SETENV} ${CONFIGURE_ENV} ./configure ; \