aboutsummaryrefslogtreecommitdiff
path: root/lang/wamcc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-03-31 11:09:02 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-03-31 11:09:02 +0000
commit9a5d4c3327262f9d458034f036784c32cda5d044 (patch)
treea6ab3b70b1a40bd5e12633aed15ae41bd357df6a /lang/wamcc
parent3a0122660e519d81a4b3f75358b923d88fbb0980 (diff)
downloadports-9a5d4c3327262f9d458034f036784c32cda5d044.tar.gz
ports-9a5d4c3327262f9d458034f036784c32cda5d044.zip
Notes
Diffstat (limited to 'lang/wamcc')
-rw-r--r--lang/wamcc/files/patch-ab15
-rw-r--r--lang/wamcc/files/patch-ac46
2 files changed, 19 insertions, 42 deletions
diff --git a/lang/wamcc/files/patch-ab b/lang/wamcc/files/patch-ab
index 0de56c1bd19a..9f711e114a83 100644
--- a/lang/wamcc/files/patch-ab
+++ b/lang/wamcc/files/patch-ab
@@ -1,11 +1,8 @@
---- Builtin/Makefile.orig Fri Dec 23 18:10:02 1994
-+++ Builtin/Makefile Tue Sep 14 04:17:29 1999
-@@ -51,7 +51,7 @@
-
-
- starter.c: build_starter Makefile
+--- Builtin/Makefile.orig Fri Dec 23 10:10:02 1994
++++ Builtin/Makefile Sat Mar 31 03:02:41 2001
+@@ -18 +18 @@
+-CFLAGS = -O2 -I../src
++CFLAGS = -O -I../src
+@@ -54 +54 @@
- build_starter $(BIPS) >starter.c
+ ./build_starter $(BIPS) >starter.c
-
- build_starter: build_starter.c
- $(CC) $(CFLAGS) $(LFLAGS) -o build_starter build_starter.c
diff --git a/lang/wamcc/files/patch-ac b/lang/wamcc/files/patch-ac
index b3c3dbd3e456..03a32c08a36f 100644
--- a/lang/wamcc/files/patch-ac
+++ b/lang/wamcc/files/patch-ac
@@ -1,51 +1,31 @@
---- src/Makefile.orig Wed Jan 29 11:37:54 1997
-+++ src/Makefile Tue Sep 14 04:16:11 1999
-@@ -49,22 +49,22 @@
-
-
- machine.o: machine.h archi.h wam_engine.h machine.c
+--- src/Makefile.orig Wed Jan 29 03:37:54 1997
++++ src/Makefile Sat Mar 31 03:01:06 2001
+@@ -19 +19 @@
+-CFLAGS = -O2
++#CFLAGS = -O2
+@@ -52 +52 @@
- $(WCC) $(CFLAGS) -c machine.c
+ ./$(WCC) $(CFLAGS) -c machine.c
-
- wam_engine.o: machine.h archi.h wam_engine.h atom_pred.h wam_engine.c
+@@ -55 +55 @@
- $(WCC) $(CFLAGS) -c wam_engine.c
+ ./$(WCC) $(CFLAGS) -c wam_engine.c
-
- wam_engine_pp.o: machine.h archi.h wam_engine.h atom_pred.h wam_engine.c
+@@ -58 +58 @@
- $(WCC) $(CFLAGS) -DWAM_PROFILE -c -o wam_engine_pp.o wam_engine.c
+ ./$(WCC) $(CFLAGS) -DWAM_PROFILE -c -o wam_engine_pp.o wam_engine.c
-
- atom_pred.o: machine.h archi.h wam_engine.h atom_pred.h atom_pred.c
+@@ -61 +61 @@
- $(WCC) $(CFLAGS) -c atom_pred.c
+ ./$(WCC) $(CFLAGS) -c atom_pred.c
-
- debugger.o: machine.h archi.h wam_engine.h atom_pred.h debugger.c
+@@ -64 +64 @@
- $(WCC) $(CFLAGS) -c debugger.c
+ ./$(WCC) $(CFLAGS) -c debugger.c
-
- hash.o: machine.h hash.c
+@@ -67 +67 @@
- $(WCC) $(CFLAGS) -c hash.c
+ ./$(WCC) $(CFLAGS) -c hash.c
-
-
-
-@@ -79,7 +79,7 @@
-
-
- $(WCC): configure archi.def
+@@ -82 +82 @@
- configure
+ ./configure
- chmod a+x $(WCC)
-
- $(BMF): bmf.c
-@@ -95,8 +95,8 @@
- $(CC) $(CFLAGS) $(LFLAGS) -o pl2hex pl2hex.c
-
- $(COMPILER):
+@@ -98,2 +98,2 @@
- $(WCC) $(CFLAGS) -c wamcc*.c
- $(WCC) $(CFLAGS) $(LFLAGS) -s -o $(COMPILER) wamcc*.o -l$(COMPILER)
+ ./$(WCC) $(CFLAGS) -c wamcc*.c
+ ./$(WCC) $(CFLAGS) $(LFLAGS) -s -o $(COMPILER) wamcc*.o -l$(COMPILER)
-
-
-