From 208fb31e968ef9f85102dcee9ce9c4679a95c403 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sat, 20 Apr 2024 22:09:11 +0200 Subject: security/openssl31-quictls: correctly detect architecture on powerpc64* / riscv64 --- security/openssl31-quictls/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/security/openssl31-quictls/Makefile b/security/openssl31-quictls/Makefile index 4f829d9afa6e..0952ba0f9da9 100644 --- a/security/openssl31-quictls/Makefile +++ b/security/openssl31-quictls/Makefile @@ -1,7 +1,7 @@ PORTNAME= openssl DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 3.1.5 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -quic1 CATEGORIES= security devel PKGNAMESUFFIX= 31-quictls @@ -141,6 +141,16 @@ SHLIBS= lib/engines-${OPENSSL_SHLIBVER}/loader_attic.so PORTSCOUT= limit=^3\.1\. +.include + +.if ${ARCH} == powerpc64 +CONFIGURE_ARGS+= BSD-ppc64 +.elif ${ARCH} == powerpc64le +CONFIGURE_ARGS+= BSD-ppc64le +.elif ${ARCH} == riscv64 +CONFIGURE_ARGS+= BSD-riscv64 +.endif + .include .if ${PREFIX} == /usr IGNORE= the OpenSSL port can not be installed over the base version -- cgit v1.2.3