Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2019 23:49:09 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516040 - head/security/botan2
Message-ID:  <201910292349.x9TNn9tO036857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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