Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 17:04:43 GMT
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 285a8de7054f - 2024Q2 - security/openssl31-quictls: correctly detect architecture on powerpc64* / riscv64
Message-ID:  <202405281704.44SH4hk8010583@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by brnrd:

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

commit 285a8de7054f92828ad2e5dbdaacbe1bf58976c4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-04-20 20:09:11 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2024-05-28 17:04:17 +0000

    security/openssl31-quictls: correctly detect architecture on powerpc64* / riscv64
    
    (cherry picked from commit 208fb31e968ef9f85102dcee9ce9c4679a95c403)
---
 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 <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+CONFIGURE_ARGS+=	BSD-ppc64
+.elif ${ARCH} == powerpc64le
+CONFIGURE_ARGS+=	BSD-ppc64le
+.elif ${ARCH} == riscv64
+CONFIGURE_ARGS+=	BSD-riscv64
+.endif
+
 .include <bsd.port.pre.mk>
 .if ${PREFIX} == /usr
 IGNORE=	the OpenSSL port can not be installed over the base version



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405281704.44SH4hk8010583>