I was trying to compile with GCJ, but unfortunately gcj's jar choked, so
I add to change the Makefile to allow for a configurable jar command. 

Here's a quick patch to change this:

Index: freenet/Makefile
===================================================================
RCS file: /cvsroot/freenet/freenet/Makefile,v
retrieving revision 1.25
diff -r1.25 Makefile
2a3,5
> # gcj jar doesn't work, to use JDK's instead:
> # JAR=/usr/local/java/bin/jar
> JAR=jar 
110c113
<       jar -cmf ../src/node.manifest ../lib/freenet.jar freenet
---
>         ${JAR} -cmf ../src/node.manifest ../lib/freenet.jar freenet
138c141
< binfred: jar java/math/BigInteger.o gnu/java/math/MPN.o
---
> binfred: ${JAR} java/math/BigInteger.o gnu/java/math/MPN.o



_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to