summaryrefslogtreecommitdiff
path: root/lang/newlisp/files/patch-makefile_bsdLP64_utf8
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2020-05-25 12:42:55 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2020-05-25 12:42:55 +0000
commit8b571f6ebec005d9aa2823b183628ee8607287ee (patch)
tree2a39b9e68ccd48d6f51f86cfc6cc90485c5d3977 /lang/newlisp/files/patch-makefile_bsdLP64_utf8
parent- When WITH_DEBUG is set, pass through DEBUG_FLAGS to the kmod build (diff)
Update lang/newlisp to version 10.7.5.
PR: 237530 (plus changes for 10.7.5) Submitted by: wen
Notes
Notes: svn path=/head/; revision=536464
Diffstat (limited to 'lang/newlisp/files/patch-makefile_bsdLP64_utf8')
-rw-r--r--lang/newlisp/files/patch-makefile_bsdLP64_utf810
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/newlisp/files/patch-makefile_bsdLP64_utf8 b/lang/newlisp/files/patch-makefile_bsdLP64_utf8
index 1ef889ff9666..1aa7286ff585 100644
--- a/lang/newlisp/files/patch-makefile_bsdLP64_utf8
+++ b/lang/newlisp/files/patch-makefile_bsdLP64_utf8
@@ -1,19 +1,19 @@
---- makefile_bsdLP64_utf8.orig 2015-01-19 17:10:12 UTC
+--- makefile_bsdLP64_utf8.orig 2019-04-24 15:04:10 UTC
+++ makefile_bsdLP64_utf8
-@@ -6,14 +6,12 @@ OBJS = newlisp.o nl-symbol.o nl-math.o n
+@@ -6,14 +6,12 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-li
# the option -fno-strict-aliasing may not be available on some BSD versions
--CFLAGS = -m64 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD
+-CFLAGS = -m64 -Wall -Wno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD
+CFLAGS += -m64 -c -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI
# or without readline lib
- #CFLAGS = -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
+ #CFLAGS = -m64 -Wall -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
-CC = cc
-
default: $(OBJS)
- $(CC) $(OBJS) -m64 -g -lm -lreadline -lncurses -o newlisp
-+ $(CC) $(LDFLAGS) $(OBJS) -m64 -lm -lreadline -lncurses -lffi -o newlisp
++ $(CC) $(LDFLAGS) $(OBJS) -m64 -g -lm -lreadline -lncurses -o newlisp
# or without readline lib
# $(CC) $(OBJS) -m64 -g -lm -o newlisp
strip newlisp