From owner-svn-ports-head@freebsd.org Tue Oct 29 23:49:10 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D75E170538; Tue, 29 Oct 2019 23:49:10 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 472pFy1p8Qz4Byx; Tue, 29 Oct 2019 23:49:10 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 212C1198F; Tue, 29 Oct 2019 23:49:10 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9TNn9dZ036858; Tue, 29 Oct 2019 23:49:09 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9TNn9tO036857; Tue, 29 Oct 2019 23:49:09 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201910292349.x9TNn9tO036857@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 29 Oct 2019 23:49:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r516040 - head/security/botan2 X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/security/botan2 X-SVN-Commit-Revision: 516040 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2019 23:49:10 -0000 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