aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-16 09:26:59 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-16 09:26:59 +0000
commitf023e9698968629ef72eb1e3f68e846e8292498d (patch)
tree4697174aa6ccfa52582160255910aba16fecd569
parent46e00f0b65882160df82ce51c0b168637beaf5fb (diff)
downloadports-f023e9698968629ef72eb1e3f68e846e8292498d.tar.gz
ports-f023e9698968629ef72eb1e3f68e846e8292498d.zip
math/reduce: fix build on powerpc64le
configure: error: "libffi has not been ported to powerpc64le-unknown-freebsd13.0."
-rw-r--r--math/reduce/files/patch-libraries_libffi_configure.host11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/reduce/files/patch-libraries_libffi_configure.host b/math/reduce/files/patch-libraries_libffi_configure.host
new file mode 100644
index 000000000000..e734c3daf2a8
--- /dev/null
+++ b/math/reduce/files/patch-libraries_libffi_configure.host
@@ -0,0 +1,11 @@
+--- libraries/libffi/configure.host.orig 2021-07-16 10:42:44.379020000 +0200
++++ libraries/libffi/configure.host 2021-07-16 10:43:21.153777000 +0200
+@@ -203,7 +203,7 @@
+ TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
+ HAVE_LONG_DOUBLE_VARIANT=1
+ ;;
+- powerpc64-*-freebsd*)
++ powerpc64*-*-freebsd*)
+ TARGET=POWERPC; TARGETDIR=powerpc
+ ;;
+ powerpc*-*-rtems*)