diff options
author | Robert Clausecker <fuz@fuz.su> | 2022-10-15 16:17:47 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2022-10-15 16:21:01 +0000 |
commit | e5a5d9c7275237e116c0a5bf7a7c8436c0db061b (patch) | |
tree | 52dbe4998967fd6ebb9e6c361f8adff9b667f0fb | |
parent | 56f224add65df796bf57c49ea782e00470a56885 (diff) | |
download | ports-e5a5d9c7275237e116c0a5bf7a7c8436c0db061b.tar.gz ports-e5a5d9c7275237e116c0a5bf7a7c8436c0db061b.zip |
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
-rw-r--r-- | security/libpki/Makefile | 5 | ||||
-rw-r--r-- | security/libpki/files/patch-configure.ac | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/security/libpki/Makefile b/security/libpki/Makefile index 61dada047acb..1b6ec397730e 100644 --- a/security/libpki/Makefile +++ b/security/libpki/Makefile @@ -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 diff --git a/security/libpki/files/patch-configure.ac b/security/libpki/files/patch-configure.ac new file mode 100644 index 000000000000..ae82272a6772 --- /dev/null +++ b/security/libpki/files/patch-configure.ac @@ -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" |