From 1a9af0dea3895cd8a7a84c2c06e3872271eb40bf Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Mon, 11 Nov 2002 18:04:54 +0000 Subject: Implement USE_JAVA PR: 41986 Submitted by: John Merryweather Cooper --- lang/jgnat/files/patch-aa | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lang/jgnat/files/patch-aa') 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 ########################################### -- cgit v1.2.3