aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-04-30 05:43:28 +0800
committerthierry <thierry@FreeBSD.org>2005-04-30 05:43:28 +0800
commit3753c94f98bdd8373239e28f972b621d50e36339 (patch)
tree601286ea7b288c8d702c68acf6b28cd5d6d8e018 /math
parentb78a18c643783f8885f21367e29502561fe3eed6 (diff)
downloadfreebsd-ports-graphics-3753c94f98bdd8373239e28f972b621d50e36339.tar.gz
freebsd-ports-graphics-3753c94f98bdd8373239e28f972b621d50e36339.tar.zst
freebsd-ports-graphics-3753c94f98bdd8373239e28f972b621d50e36339.zip
Try to fix on sparc64 and amd64.
Reported by: Kris via pointyhat
Diffstat (limited to 'math')
-rw-r--r--math/freemat/files/patch-libs_libffi_configure19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/freemat/files/patch-libs_libffi_configure b/math/freemat/files/patch-libs_libffi_configure
new file mode 100644
index 00000000000..ec95035ca52
--- /dev/null
+++ b/math/freemat/files/patch-libs_libffi_configure
@@ -0,0 +1,19 @@
+--- ./libs/libffi/configure.orig Mon Jun 21 21:27:17 2004
++++ ./libs/libffi/configure Fri Apr 29 23:36:25 2005
+@@ -3286,7 +3286,7 @@
+ sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;;
+ sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
+ sparc-*-linux* | sparc-*-netbsdelf*) TARGET=SPARC; TARGETDIR=sparc;;
+-sparc64-*-linux* | sparc64-*-netbsd*) TARGET=SPARC; TARGETDIR=sparc;;
++sparc64-*-linux* | sparc64-*-netbsd* | sparc64-*-freebsd*) TARGET=SPARC; TARGETDIR=sparc;;
+ alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-netbsd*) TARGET=ALPHA; TARGETDIR=alpha;;
+ ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;;
+ m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;;
+@@ -3306,6 +3306,7 @@
+ sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
+ sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;
+ hppa-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;;
++amd64-portbld-freebsd*) TARGET=X86_64; TARGETDIR=x86;;
+ esac
+
+