summaryrefslogtreecommitdiff
path: root/lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-03-09 22:59:34 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-03-09 22:59:34 +0000
commit1f6c5ec12fb67d93cea70d5a939925cff67d6451 (patch)
tree6a1850ea98930649245edf658e16e55cb44df4f1 /lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8
parentMark IGNORE for now, it need uncommitted parts which aren't ready yet. (diff)
Add lang/newlisp-devel, tracking development versions of lang/newlisp.
Notes
Notes: svn path=/head/; revision=313772
Diffstat (limited to 'lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8')
-rw-r--r--lang/newlisp-devel/files/patch-makefile_bsdLP64_utf822
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8 b/lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8
new file mode 100644
index 000000000000..ab43c1715c14
--- /dev/null
+++ b/lang/newlisp-devel/files/patch-makefile_bsdLP64_utf8
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- makefile_bsdLP64_utf8.orig
++++ makefile_bsdLP64_utf8
+@@ -6,14 +6,12 @@
+
+ # 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 -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
+
+-CC = gcc
+-
+ default: $(OBJS)
+- $(CC) $(OBJS) -m64 -g -lm -lreadline -lncurses -o newlisp
++ $(CC) $(LDFLAGS) $(OBJS) -m64 -lm -lreadline -lncurses -lffi -o newlisp
+ # or without readline lib
+ # $(CC) $(OBJS) -m64 -g -lm -o newlisp
+ strip newlisp