diff options
Diffstat (limited to 'lang/newlisp/files/patch-makefile_bsd')
-rw-r--r-- | lang/newlisp/files/patch-makefile_bsd | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/newlisp/files/patch-makefile_bsd b/lang/newlisp/files/patch-makefile_bsd new file mode 100644 index 000000000000..aaa804c2207f --- /dev/null +++ b/lang/newlisp/files/patch-makefile_bsd @@ -0,0 +1,23 @@ +--- makefile_bsd.orig Wed Sep 13 17:32:12 2006 ++++ makefile_bsd Wed Sep 13 17:32:35 2006 +@@ -4,16 +4,16 @@ + OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \ + nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o + +-CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -DREADLINE -D_BSD ++CFLAGS += -c -DREADLINE -D_BSD + # for netBSD use following line + #CFLAGS = -Wall -Wno-uninitialized -O2 -c -g -D_BSD + +-CC = gcc ++#CC = gcc + + default: $(OBJS) +- $(CC) $(OBJS) -g -lm -lreadline -lncurses -o newlisp ++ $(CC) $(OBJS) -lm -lreadline -lncurses -o newlisp + # for netBSD use following line +-# $(CC) $(OBJS) -g -lm -o newlisp ++# $(CC) $(OBJS) -lm -o newlisp + strip newlisp + + .c.o: |