1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

security/libpki: Fix build on armv7 and arm64

- add case for armv7 to configure script
- adapt aarch64 case to arm64
  https://github.com/openca/libpki/issues/57
- while we are at it, hook up test suite
- bump PORTREVISION

PR:		266955
MFH:		2022Q4
(cherry picked from commit e5a5d9c727)
This commit is contained in:
Robert Clausecker 2022-10-15 17:17:47 +01:00 committed by Nuno Teixeira
parent 7be261e9dc
commit fae3c318a1
2 changed files with 15 additions and 3 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= libpki
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
PATCH_SITES= https://github.com/openca/libpki/commit/
@ -14,8 +14,6 @@ WWW= https://www.openca.org/projects/libpki
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
NOT_FOR_ARCHS= arm64
USES= autoreconf gnome libtool ssl
USE_GITHUB= yes
GH_ACCOUNT= openca
@ -27,6 +25,7 @@ CONFIGURE_ARGS= --disable-dependency-tracking \
--disable-iphone
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= DNS LDAP MYSQL PGSQL

View File

@ -0,0 +1,13 @@
--- configure.ac.orig 2022-10-10 19:42:21 UTC
+++ configure.ac
@@ -40,6 +40,9 @@
mybits="64"
mybits_install="64"
;;
+ *arm)
+ mybits="32"
+ ;;
- *aarch64)
+ *aarch64|*arm64)
mybits="64"
mybits_install="64"