summaryrefslogtreecommitdiff
path: root/lang/newlisp/files/patch-makefile_bsdLP64_utf8
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-03-09 21:28:49 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-03-09 21:28:49 +0000
commite45341193944239158557611c72a9b6a609196ed (patch)
treed401251916e624215f8d490234ac641e09a96e12 /lang/newlisp/files/patch-makefile_bsdLP64_utf8
parentRemove some dead variables (diff)
Add support for the extended FFI, thus enabling the optional use
of the math/gsl interface. Also, cleanup Makefile patches.
Notes
Notes: svn path=/head/; revision=313758
Diffstat (limited to 'lang/newlisp/files/patch-makefile_bsdLP64_utf8')
-rw-r--r--lang/newlisp/files/patch-makefile_bsdLP64_utf819
1 files changed, 15 insertions, 4 deletions
diff --git a/lang/newlisp/files/patch-makefile_bsdLP64_utf8 b/lang/newlisp/files/patch-makefile_bsdLP64_utf8
index 32d9a9c06edb..ab43c1715c14 100644
--- a/lang/newlisp/files/patch-makefile_bsdLP64_utf8
+++ b/lang/newlisp/files/patch-makefile_bsdLP64_utf8
@@ -1,11 +1,22 @@
---- makefile_bsdLP64_utf8.orig 2009-08-11 15:44:03.000000000 +0400
-+++ makefile_bsdLP64_utf8 2009-08-11 15:44:26.000000000 +0400
-@@ -6,7 +6,7 @@
+
+$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 += -c -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