summaryrefslogtreecommitdiff
path: root/lang/clisp/patches
diff options
context:
space:
mode:
authoruwe <uwe>2007-06-06 21:29:54 +0000
committeruwe <uwe>2007-06-06 21:29:54 +0000
commitf35073f21f4549632dedf0e2d26890241787bd10 (patch)
treecd2051b07d6220df89e33bd9fb9997c632a78d4e /lang/clisp/patches
parentda63c961cf1f041570b93652a07683ae0979d094 (diff)
downloadpkgsrc-f35073f21f4549632dedf0e2d26890241787bd10.tar.gz
clisp now ships with its own copy of ffcall that has evolved from the
last released version that we have as devel/ffcall. Arrange for powerpc files (from files/) to end up in the right place and get used by the build: tramp-* files are no longer used, so don't copy them. They can probably be deleted from files/ now. powerpc is now known to ffcall as powerpc, not rs6000 so change the target name accordingly and make the makefile rule recognize netbsd and pick up our file. Makes clisp build/work on my macppc. Ok wiz@ (except any typos in this commit message).
Diffstat (limited to 'lang/clisp/patches')
-rw-r--r--lang/clisp/patches/patch-ak21
1 files changed, 18 insertions, 3 deletions
diff --git a/lang/clisp/patches/patch-ak b/lang/clisp/patches/patch-ak
index 9a7292361a7..e2149dc21fb 100644
--- a/lang/clisp/patches/patch-ak
+++ b/lang/clisp/patches/patch-ak
@@ -1,8 +1,23 @@
-$NetBSD: patch-ak,v 1.4 2007/04/01 12:45:40 tron Exp $
+$NetBSD: patch-ak,v 1.5 2007/06/06 21:29:55 uwe Exp $
---- ffcall/callback/vacall_r/Makefile.in.orig 2006-04-25 11:10:44.000000000 +0300
+--- ffcall/callback/vacall_r/Makefile.in.orig 2006-04-25 12:10:44.000000000 +0400
+++ ffcall/callback/vacall_r/Makefile.in
-@@ -163,7 +163,7 @@ libvacall.la : $(OBJECTS)
+@@ -120,12 +120,13 @@ vacall-arm.lo : vacall-arm.s
+ vacall-arm.s : $(srcdir)/vacall-arm.S
+ $(CPP) $(ASPFLAGS) $(srcdir)/vacall-arm.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//,@,g' -e 's,\$$,#,g' > vacall-arm.s
+
+-vacall-powerpc.lo : $(srcdir)/vacall-powerpc-aix.old.s $(srcdir)/vacall-powerpc-aix.new.s $(srcdir)/vacall-powerpc-sysv4.s $(srcdir)/vacall-powerpc-linux.s $(srcdir)/vacall-powerpc-macos.s
++vacall-powerpc.lo : $(srcdir)/vacall-powerpc-aix.old.s $(srcdir)/vacall-powerpc-aix.new.s $(srcdir)/vacall-powerpc-sysv4.s $(srcdir)/vacall-powerpc-linux.s $(srcdir)/vacall-powerpc-macos.s $(srcdir)/vacall-powerpc-netbsd.s
+ case "$(OS)" in \
+ aix3*) syntax=aix.old;; \
+ aix*) syntax=aix.new;; \
+ linux*) syntax=linux;; \
+ macos* | darwin*) syntax=macos;; \
++ netbsd*) syntax=netbsd;; \
+ *) syntax=sysv4;; \
+ esac; \
+ $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-powerpc-$${syntax}.s ; \
+@@ -163,7 +164,7 @@ libvacall.la : $(OBJECTS)
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
if [ ! -d $(includedir) ] ; then mkdir $(includedir) ; fi