updating my port to bsd.java.mk options

Ronald Klop ronald-freebsd6 at klop.yi.org
Thu Apr 22 10:28:54 PDT 2004


Hello,

Is this patch correct to update my port to the new bsd.java.mk?
Do I need to set JAVA_BUILD or JAVA_RUN? And what are valid values for 
these?
It uses javac while building and is a library to run with java. That's why 
it needs native java.
Any comments before I send a PR for this?

Greetings,

Ronald.
PS: It al builds/runs ok here (but I already have jdk14 installed).

diff -ur /usr/ports/java/jmp/Makefile jmp/Makefile
--- /usr/ports/java/jmp/Makefile        Mon Apr  5 18:54:38 2004
+++ jmp/Makefile        Thu Apr 22 19:14:45 2004
@@ -35,7 +35,9 @@

  USE_LIBTOOL_VER=13
  USE_GMAKE=     yes
-USE_JAVA=      1.2+
+USE_JAVA=      yes
+JAVA_VERSION=  1.2+
+JAVA_OS=       native
  NEED_JAVAC=    yes

  MAKE_FLAGS=    JAVAC=${JAVAC} JAVAH=${JAVAH}


-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


More information about the freebsd-java mailing list