www/commonist BROKEN: No ${JAR} even if USE_JAVA=1.5+ defined?

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Sun Aug 17 15:08:50 UTC 2008


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.


More information about the freebsd-ports mailing list