summaryrefslogtreecommitdiff
path: root/lang/newlisp/files/patch-makefile_bsd
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-13 15:24:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-13 15:24:13 +0000
commitdf4ef73dde0ecabd7b7a60a3517b93fb96fbbb55 (patch)
treeefafd084544df636684500f460c23aff2c5c57c0 /lang/newlisp/files/patch-makefile_bsd
parentStyle neats for the latest gnutls entry. (diff)
The newLISP is a scripting language for developing web applications and
programs in general and in the domains of artificial intelligence (AI) and statistics. Author: Lutz Mueller WWW: http://www.newlisp.org/ PR: ports/103226 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
Notes
Notes: svn path=/head/; revision=172946
Diffstat (limited to 'lang/newlisp/files/patch-makefile_bsd')
-rw-r--r--lang/newlisp/files/patch-makefile_bsd23
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: