freebsd-ports/lang/newlisp/files/patch-makefile_bsd
Martin Wilke df4ef73dde 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>
2006-09-13 15:24:13 +00:00

23 lines
727 B
Text

--- 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: