git: f023e9698968 - main - math/reduce: fix build on powerpc64le

Piotr Kubaj pkubaj at FreeBSD.org
Fri Jul 16 09:27:08 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f023e9698968629ef72eb1e3f68e846e8292498d

commit f023e9698968629ef72eb1e3f68e846e8292498d
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-16 09:26:59 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-16 09:26:59 +0000

    math/reduce: fix build on powerpc64le
    
    configure: error: "libffi has not been ported to powerpc64le-unknown-freebsd13.0."
---
 math/reduce/files/patch-libraries_libffi_configure.host | 11 +++++++++++
 1 file changed, 11 insertions(+)

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*)


More information about the dev-commits-ports-main mailing list