summaryrefslogtreecommitdiff
path: root/lang/jgnat/files/patch-aa
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-11 18:04:54 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-11 18:04:54 +0000
commit1a9af0dea3895cd8a7a84c2c06e3872271eb40bf (patch)
tree0845c87a5223640dcad2b8424994f08532bd2392 /lang/jgnat/files/patch-aa
parentupgrade to 1.1 (diff)
Implement USE_JAVA
PR: 41986 Submitted by: John Merryweather Cooper <coop9211@uidaho.edu>
Notes
Notes: svn path=/head/; revision=69913
Diffstat (limited to '')
-rw-r--r--lang/jgnat/files/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/jgnat/files/patch-aa b/lang/jgnat/files/patch-aa
index 269a6695c390..3b1b20ccc669 100644
--- a/lang/jgnat/files/patch-aa
+++ b/lang/jgnat/files/patch-aa
@@ -22,14 +22,14 @@
LIB_FLAGS = -O -gnatgp -gnata
STRIP = -s
- JAR = jar c0f
-+ JAR = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
++ JAR = $(JAVA_HOME)/bin/jar c0f
else
C_FLAGS = -O
TOOL_FLAGS = -g -O -gnatgpa
LIB_FLAGS = -g -O -gnatgpa
STRIP =
- JAR = jar c0f
-+ JAR = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
++ JAR = $(JAVA_HOME)/bin/jar c0f
endif
#################################
@@ -45,7 +45,7 @@
# JGNAT compiler to build the Ada part of the JGNAT library
-JAVAC = javac -deprecation -classpath $(LIB)$(JDK11_LIB)
-+JAVAC = $(LOCALBASE)/jdk1.2.2/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
++JAVAC = $(JAVA_HOME)/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
# The Java compiler to build the Java part of the JGNAT library
###########################################