svn commit: r516040 - head/security/botan2
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Oct 29 23:49:10 UTC 2019
Author: pkubaj
Date: Tue Oct 29 23:49:09 2019
New Revision: 516040
URL: https://svnweb.freebsd.org/changeset/ports/516040
Log:
security/botan2: fix build on powerpc64
This port detects architecture based on uname -m and on powerpc64 it prints powerpc, which makes configure script thinks it builds on 32-bit powerpc and causes error because the compiler is configured for 64-bits.
Explicitly configure as ppc64 on powerpc64.
PR: 241375
Approved by: tremere at cainites.net (maintainer), linimon (mentor)
Modified:
head/security/botan2/Makefile
Modified: head/security/botan2/Makefile
==============================================================================
--- head/security/botan2/Makefile Tue Oct 29 22:57:49 2019 (r516039)
+++ head/security/botan2/Makefile Tue Oct 29 23:49:09 2019 (r516040)
@@ -53,6 +53,8 @@ SSL_CONFIGURE_WITH= openssl
.if ${ARCH} == aarch64
CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto"
+.elif ${ARCH} == powerpc64
+CONFIGURE_ARGS+= --cpu="ppc64"
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000
More information about the svn-ports-head
mailing list