mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
367cb1bae4
. Allow build with any native JDK, not just 1.1.8. The default is the Diablo Caffe JDK. This part should be revisited once bsd.java.mk 2.0 hits the scene. One could also consider doing it so it could install for all the native JDKs, not just one at a time. . Fix build on 5.x. . Respect NOPORTDOCS.
23 lines
645 B
Plaintext
23 lines
645 B
Plaintext
$FreeBSD$
|
|
|
|
--- Makefile.in.orig Thu Sep 6 18:01:03 2001
|
|
+++ Makefile.in Thu Oct 16 19:34:18 2003
|
|
@@ -117,7 +117,7 @@
|
|
library: debug optimized OpenJIT.jar
|
|
|
|
OpenJIT.jar: debug optimized
|
|
- jar cvf OpenJIT.jar org/OpenJIT/*.class
|
|
+ $(JAVA_HOME)/bin/jar cvf OpenJIT.jar org/OpenJIT/*.class
|
|
|
|
CC = @CC@
|
|
|
|
@@ -131,7 +131,7 @@
|
|
OBJDIR = obj$(SUFFIX)
|
|
|
|
CFLAGS_COMMON = -Wall @CFLAGS@
|
|
-CFLAGS_OPT = -O2
|
|
+CFLAGS_OPT = -Wall @CFLAGS@
|
|
CFLAGS_DBG = -g
|
|
CFLAGS = $(CFLAGS_$(VARIANT)) $(CFLAGS_COMMON) $(OTHER_CFLAGS)
|
|
INCLUDES = -I@JDK_INCLUDE@ -I@JDK_INCLUDE@/$(PLATFORM) -I@JDK_INCLUDE_OLD@ -I@JDK_INCLUDE_OLD@/$(PLATFORM) -I./CClassHeaders
|