aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-10 11:20:11 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-10 11:21:01 +0000
commit0d9e3c1fa602363826071359dde0964150584e47 (patch)
tree1ae2bd2114778b84cef31814a51ccedca2a0b8df
parent2f524a645fc89e9f8686b5f60a0099d6f9f3123c (diff)
downloadports-0d9e3c1fa602363826071359dde0964150584e47.tar.gz
ports-0d9e3c1fa602363826071359dde0964150584e47.zip
security/botan2: force little-endian mode on powerpc64le
-rw-r--r--security/botan2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/botan2/Makefile b/security/botan2/Makefile
index 6d11a7e2137f..c111ecf88fee 100644
--- a/security/botan2/Makefile
+++ b/security/botan2/Makefile
@@ -1,6 +1,6 @@
PORTNAME= botan
DISTVERSION= 2.19.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://botan.randombit.net/releases/
PKGNAMESUFFIX= 2
@@ -77,8 +77,10 @@ SQLITE3_CONFIGURE_WITH= sqlite3
.if ${ARCH} == aarch64
CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto"
-.elif ${ARCH:Mpowerpc64*}
+.elif ${ARCH} == powerpc64
CONFIGURE_ARGS+= --cpu="ppc64"
+.elif ${ARCH} == powerpc64le
+CONFIGURE_ARGS+= --cpu="ppc64le"
.endif
.if ${ARCH} == i386 || ${ARCH} == amd64