summaryrefslogtreecommitdiff
path: root/lang/newlisp/files/patch-makefile_bsd_lib
diff options
context:
space:
mode:
Diffstat (limited to 'lang/newlisp/files/patch-makefile_bsd_lib')
-rw-r--r--lang/newlisp/files/patch-makefile_bsd_lib14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/newlisp/files/patch-makefile_bsd_lib b/lang/newlisp/files/patch-makefile_bsd_lib
new file mode 100644
index 000000000000..b57df1cd51b5
--- /dev/null
+++ b/lang/newlisp/files/patch-makefile_bsd_lib
@@ -0,0 +1,14 @@
+--- makefile_bsd_lib.orig Wed Sep 13 17:32:38 2006
++++ makefile_bsd_lib Wed Sep 13 17:32:59 2006
+@@ -3,9 +3,9 @@
+ 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 unix-lib.o
+
+-CFLAGS = -Wall -pedantic -Wno-uninitialized -O2 -c -DLIBRARY -D_BSD
++CFLAGS +=-c -DLIBRARY -D_BSD
+
+-CC = gcc
++#CC = gcc
+
+ default: $(OBJS)
+ $(CC) $(OBJS) -lm -shared -o newlisp.so