summaryrefslogtreecommitdiff
path: root/devel/ffcall/patches/patch-aa
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-03-06 23:50:51 +0000
committerjmc <jmc@pkgsrc.org>2003-03-06 23:50:51 +0000
commit6ba2042c871c142698f588a60deea8ce118babc2 (patch)
tree09c08c8a3b162d7625eaf8bd4f1cd77b3b9cb2dd /devel/ffcall/patches/patch-aa
parent4172cf6d8b4efb288ac8c920d9ef8fcf0ea50a8e (diff)
downloadpkgsrc-6ba2042c871c142698f588a60deea8ce118babc2.tar.gz
Port this to powerpc. Already did it once based on lang/clisp including this
code so base the port off of those patches. Passes all tests via make check
Diffstat (limited to 'devel/ffcall/patches/patch-aa')
-rw-r--r--devel/ffcall/patches/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/ffcall/patches/patch-aa b/devel/ffcall/patches/patch-aa
new file mode 100644
index 00000000000..eacb0b7ee18
--- /dev/null
+++ b/devel/ffcall/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2003/03/06 23:50:52 jmc Exp $
+
+--- ./avcall/Makefile.in.orig Thu Mar 6 23:11:35 2003
++++ ./avcall/Makefile.in Thu Mar 6 23:15:52 2003
+@@ -116,12 +116,12 @@
+ case "$(OS)" in \
+ aix3*) syntax=aix.old;; \
+ aix*) syntax=aix.new;; \
+- linux*) syntax=linux;; \
++ linux* | netbsd* ) syntax=linux;; \
+ *) syntax=sysv4;; \
+ esac; \
+ $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-rs6000-$${syntax}.s ; \
+- cp avcall-rs6000-$${syntax}.lo avcall-rs6000.lo ; rm -f avcall-rs6000-$${syntax}.lo ; \
+- if test -f avcall-rs6000-$${syntax}.o; then mv avcall-rs6000-$${syntax}.o avcall-rs6000.o; fi
++ cp avcall-rs6000-$${syntax}.lo avcall-rs6000.lo ; \
++ if test -f avcall-rs6000-$${syntax}.o; then cp avcall-rs6000-$${syntax}.o avcall-rs6000.o; fi
+
+ avcall-m88k.lo : $(srcdir)/avcall-m88k.s
+ $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-m88k.s