summaryrefslogtreecommitdiffstats
path: root/lang/jgnat/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'lang/jgnat/files/patch-aa')
-rw-r--r--lang/jgnat/files/patch-aa40
1 files changed, 19 insertions, 21 deletions
diff --git a/lang/jgnat/files/patch-aa b/lang/jgnat/files/patch-aa
index 7dee6b7..269a669 100644
--- a/lang/jgnat/files/patch-aa
+++ b/lang/jgnat/files/patch-aa
@@ -1,24 +1,15 @@
---- Makefile.orig Mon Mar 27 18:56:24 2000
-+++ Makefile Tue Apr 4 21:00:47 2000
-@@ -66,7 +66,7 @@
- DEBUG_JGNAT =
- # Set this variable if you want to be able to debug the JGNAT toolchain
-
--JDK11_LIB =
-+JDK11_LIB = :/usr/local/jdk1.1.8/lib/classes.zip
- # Needed only if you are using Sun's JDK 1.1.*. Leave this blank for JDK 1.2.*.
- # Path separator followed by the zip file containing the JDK 1.1 lib
- # installed on the machine on which you are doing the build. For instance, on
+--- Makefile Fri Sep 1 10:15:37 2000
++++ Makefile.new Thu Jul 19 16:20:54 2001
@@ -82,7 +82,7 @@
- VERSION = 1.0p
+ VERSION = 1.1p
# The current version number of JGNAT
-HOST = ${shell gcc -dumpmachine}
+HOST = ${shell adagcc -dumpmachine}
- # Name of the host computer on which the JGNAT executables were built
+ # Name of the host computer on which the JGNAT executables were built. When the
+ # HOST is Windows NT this variable is set to "nt" and it is overriden below.
- TGZ = tgz
-@@ -236,6 +236,7 @@
+@@ -238,6 +238,7 @@
CD = cd
CP = cp -p -f
ECHO = echo
@@ -26,16 +17,23 @@
MKDIR = mkdir -p
MV = mv -f
PWD = pwd
-@@ -277,7 +278,7 @@
+@@ -279,13 +280,13 @@
TOOL_FLAGS = -O2 -gnatgp -gnata
LIB_FLAGS = -O -gnatgp -gnata
STRIP = -s
- JAR = jar c0f
-+ JAR = /usr/local/jdk1.1.8/bin/jar c0f
++ JAR = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
else
C_FLAGS = -O
TOOL_FLAGS = -g -O -gnatgpa
-@@ -325,13 +326,13 @@
+ LIB_FLAGS = -g -O -gnatgpa
+ STRIP =
+- JAR = jar c0f
++ JAR = $(LOCALBASE)/jdk1.2.2/bin/jar c0f
+ endif
+
+ #################################
+@@ -327,13 +328,13 @@
$(EXTRA_LINK_FLAGS)
# Linker flags used to build the $(GNATMAKE_CUR_LIB) executables
@@ -47,11 +45,11 @@
# JGNAT compiler to build the Ada part of the JGNAT library
-JAVAC = javac -deprecation -classpath $(LIB)$(JDK11_LIB)
-+JAVAC = /usr/local/jdk1.1.8/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
++JAVAC = $(LOCALBASE)/jdk1.2.2/bin/javac -deprecation -classpath $(LIB)$(JDK11_LIB)
# The Java compiler to build the Java part of the JGNAT library
###########################################
-@@ -410,12 +411,12 @@
+@@ -412,12 +413,12 @@
clean_bin : check_vars
$(CD) $(BIN); $(RM) $(HOST_TOOLS_EXE)
@@ -68,7 +66,7 @@
$(RM) $(LIB)/*.jar
########
-@@ -1316,7 +1317,7 @@
+@@ -1425,7 +1426,7 @@
else
$(CD) $(LIB); $(JAR) $(JGNAT_JAR) jgnat/adalib/*.class
endif
OpenPOWER on IntegriCloud