diff options
Diffstat (limited to 'lang/vscm/patches')
-rw-r--r-- | lang/vscm/patches/patch-ab | 57 |
1 files changed, 52 insertions, 5 deletions
diff --git a/lang/vscm/patches/patch-ab b/lang/vscm/patches/patch-ab index 4d602b3ac6e..dae7b48d6b2 100644 --- a/lang/vscm/patches/patch-ab +++ b/lang/vscm/patches/patch-ab @@ -1,9 +1,56 @@ -$NetBSD: patch-ab,v 1.1.1.1 2000/11/02 11:01:53 itojun Exp $ +$NetBSD: patch-ab,v 1.2 2001/04/12 20:21:59 jtb Exp $ ---- Makefile Sat Aug 6 00:31:07 1994 -+++ Makefile Thu Nov 2 19:41:00 2000 -@@ -415,3 +415,3 @@ +--- Makefile.orig Fri Aug 5 15:31:07 1994 ++++ Makefile +@@ -49,8 +49,8 @@ + # this is what works for me on a DEC Alpha, running OSF/1: + # (gcc version 2.5.7) + +- CC = gcc +- OPTFLAGS = -O2 -funroll-loops -fomit-frame-pointer ++# CC = gcc ++ OPTFLAGS = -funroll-loops -fomit-frame-pointer + WARNFLAGS = -Wall -Wmissing-prototypes + DEBUGFLAGS = + EXTRACFLAGS = +@@ -208,7 +208,7 @@ + .DEFAULT: + @echo I hope, making $< is not necessary... + +-CFLAGS = $(A_OPTFLAGS) $(A_WARNFLAGS) $(A_DEBUGFLAGS) $(A_EXTRACFLAGS) $(DDP) ++CFLAGS += $(A_OPTFLAGS) $(A_WARNFLAGS) $(A_DEBUGFLAGS) $(A_EXTRACFLAGS) $(DDP) + LDFLAGS = $(A_OPTFLAGS) $(A_DEBUGFLAGS) $(A_EXTRALDFLAGS) + CLFLAGS = $(CFLAGS) $(A_EXTRALDFLAGS) + LIBS = -lm $(A_EXTRALIBS) +@@ -413,8 +413,8 @@ + distclean: archclean + $(FORCEDELETE) compiler/repl.boot -scheme: $(OBJECTS) $(TMPLIBS) +- $(CC) -o scheme $(LDFLAGS) $(OBJECTS) $(LIBS) -lc $(TMPLIBS) +scheme: $(OBJECTS) non-ansi-lib $(TMPLIBS) - $(CC) -o scheme $(LDFLAGS) $(OBJECTS) $(LIBS) -lc $(TMPLIBS) ++ $(CC) -o vscm $(LDFLAGS) $(OBJECTS) $(LIBS) -lc $(TMPLIBS) + + .scheme-boot: compiler/repl.boot + cp compiler/repl.boot .scheme-boot +@@ -422,17 +422,17 @@ + compiler/filt.boot: format.time compiler/vscmc.asm \ + compiler/version.asm compiler/filt-ml.asm + cat compiler/vscmc.asm compiler/version.asm compiler/filt-ml.asm | \ +- ./scheme -b - -a - -d compiler/filt.boot ++ ./vscm -b - -a - -d compiler/filt.boot + + compiler/repl.boot: format.time compiler/vscmc.asm \ + compiler/version.asm compiler/repl-ml.asm + cat compiler/vscmc.asm compiler/version.asm compiler/repl-ml.asm | \ +- ./scheme -b - -a - -d compiler/repl.boot ++ ./vscm -b - -a - -d compiler/repl.boot + + compiler/vscmc.asm: compiler/vscmc.scm + -mv compiler/vscmc.asm compiler/vscmc.oasm >/dev/null 2>&1 + mv compiler/filt.boot compiler/filt.oboot +- ./scheme -b compiler/filt.oboot <compiler/vscmc.scm >compiler/vscmc.asm ++ ./vscm -b compiler/filt.oboot <compiler/vscmc.scm >compiler/vscmc.asm + + compiler/vscmc.scm: compiler/s.vscmc.scm + -(cd compiler; \ |