On Sun, Aug 17, 2008 at 04:41:37PM +0200, Marcin Cieslak wrote:
>
> One of my ports breaks badly on the tinderbox:
> The error message is:
>
> ===>   commonist-0.3.28 depends on executable: unzip - found
> (cd /work/a/ports/www/commonist/work/commonist-0.3.28 &&  
> /usr/local/diablo-jdk1.5.0/bin/jar xf lib/lib-util-src.jar src)
> /usr/local/diablo-jdk1.5.0/bin/jar: not found
>
> The port defines
>
> USE_JAVA=1.5+
>
> and uses ${JAR} to get the proper location of the tool.
>
> What's wrong?
>
Not 100% sure, you should define JAVA_EXTRACT in your port also:

JAVA_EXTRACT=   yes

Look at ports/Mk/bsd.java.mk and some ports too
(cd /usr/ports ; grep -R JAVA_EXTRACT):
finance/venice
games/robocode
games/sbfol
java/eclipse-pmd
print/arobatviewer
...

Seems to be not well documented and rarely used variable.

Just my 0.02$,
Alexey.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to