git: 1ce8721f0cca - main - security/libpki: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Oct 2022 23:02:19 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ce8721f0ccafbece38789a41169b2b3bca7ca6b
commit 1ce8721f0ccafbece38789a41169b2b3bca7ca6b
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-10-16 23:00:21 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-10-16 23:01:11 +0000
security/libpki: fix build on powerpc
---
security/libpki/files/patch-configure.ac | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/security/libpki/files/patch-configure.ac b/security/libpki/files/patch-configure.ac
index ae82272a6772..6e5aea3a88f2 100644
--- a/security/libpki/files/patch-configure.ac
+++ b/security/libpki/files/patch-configure.ac
@@ -1,13 +1,34 @@
---- configure.ac.orig 2022-10-10 19:42:21 UTC
+--- configure.ac.orig 2022-10-16 21:47:40 UTC
+++ configure.ac
-@@ -40,6 +40,9 @@
+@@ -23,7 +23,7 @@ is_aix="no"
+ mybits_install=""
+ is_sparc="no"
+ is_aix="no"
+-my_arch=`uname -m`
++my_arch=`uname -p`
+
+ case "$my_arch" in
+ *i686)
+@@ -40,7 +40,13 @@ case "$my_arch" in
mybits="64"
mybits_install="64"
;;
+- *aarch64)
+ *arm)
+ mybits="32"
+ ;;
-- *aarch64)
++ *powerpc)
++ mybits="32"
++ ;;
+ *aarch64|*arm64)
mybits="64"
mybits_install="64"
+ ;;
+@@ -57,7 +63,6 @@ case "$my_arch" in
+ *powerpc*)
+ mybits="64"
+ mybits_install="64"
+- is_aix="yes"
+ ;;
+ *)
+ AC_MSG_ERROR([Not supported arch ($my_arch)])