From owner-svn-ports-head@freebsd.org Mon Nov 16 10:21:25 2020 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 E838C2EA55E; Mon, 16 Nov 2020 10:21:25 +0000 (UTC) (envelope-from mikael@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4CZQ8j6Hl3z4tWT; Mon, 16 Nov 2020 10:21:25 +0000 (UTC) (envelope-from mikael@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 CAC9240DE; Mon, 16 Nov 2020 10:21:25 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AGALP1P038497; Mon, 16 Nov 2020 10:21:25 GMT (envelope-from mikael@FreeBSD.org) Received: (from mikael@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AGALPuZ038495; Mon, 16 Nov 2020 10:21:25 GMT (envelope-from mikael@FreeBSD.org) Message-Id: <202011161021.0AGALPuZ038495@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mikael set sender to mikael@FreeBSD.org using -f From: Mikael Urankar Date: Mon, 16 Nov 2020 10:21:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555460 - head/security/botan2 X-SVN-Group: ports-head X-SVN-Commit-Author: mikael X-SVN-Commit-Paths: head/security/botan2 X-SVN-Commit-Revision: 555460 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.34 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: Mon, 16 Nov 2020 10:21:26 -0000 Author: mikael Date: Mon Nov 16 10:21:25 2020 New Revision: 555460 URL: https://svnweb.freebsd.org/changeset/ports/555460 Log: security/botan2: fix build on arm processor_rng is only implemented on x86 and powerpc64 PR: 251160 Approved by: Ralf van der Enden (maintainer) Modified: head/security/botan2/Makefile head/security/botan2/pkg-plist Modified: head/security/botan2/Makefile ============================================================================== --- head/security/botan2/Makefile Mon Nov 16 09:38:59 2020 (r555459) +++ head/security/botan2/Makefile Mon Nov 16 10:21:25 2020 (r555460) @@ -75,6 +75,12 @@ PLIST_SUB+= HAS_RDRAND_RNG="" PLIST_SUB+= HAS_RDRAND_RNG="@comment " .endif +.if ${ARCH} == i386 || ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} +PLIST_SUB+= HAS_PROCESSOR_RNG="" +.else +PLIST_SUB+= HAS_PROCESSOR_RNG="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|^optimization_flags .*|optimization_flags "${CXXFLAGS}"|' \ ${WRKSRC}/src/build-data/cc/clang.txt Modified: head/security/botan2/pkg-plist ============================================================================== --- head/security/botan2/pkg-plist Mon Nov 16 09:38:59 2020 (r555459) +++ head/security/botan2/pkg-plist Mon Nov 16 10:21:25 2020 (r555460) @@ -212,7 +212,7 @@ include/botan-2/botan/polyn_gf2m.h include/botan-2/botan/pow_mod.h include/botan-2/botan/prf_tls.h include/botan-2/botan/prf_x942.h -include/botan-2/botan/processor_rng.h +%%HAS_PROCESSOR_RNG%%include/botan-2/botan/processor_rng.h include/botan-2/botan/psk_db.h include/botan-2/botan/psk_db_sql.h include/botan-2/botan/pssr.h