From nobody Thu May 16 22:19:53 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VgPfL2VnTz5KJQ0; Thu, 16 May 2024 22:19:54 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VgPfL0Mxbz44Bc; Thu, 16 May 2024 22:19:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715897994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1Ql5yNBB+j6k1uoCD487FjuMo57NAz1CQ5lzMGlU7MI=; b=hzw4UVuDWvFaRGmq+1QmpmluZQShjh9xAwPaXNqSQnZKoDAzilq6wLBNE3iB2+scGUzkCo weHvpnLyT1YJLtoIuxQ8tyZI7jZwkZ9brOUb0kmz68Fxx33rovC7nZC32uX4AYX6+AaGVZ XVVuGBE/l+yld4RldAtlSlBgWkZRpbjmyaMekixFTodEeSqqZ/mzOir36FhznWawfiGeFP /7WVcFo95+569Tg+LRFNrpmFVm9Zu6GQqMupsJSFE7RpAAsJC3Rh9YyqpWkurwQ23KKjum bxHRjtg3IM9s9nKotXBlrkhZ3jORJtArxlnAxe+mDC2hb+AohO49eVxKH/h26Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715897994; a=rsa-sha256; cv=none; b=x5r2rPU1xvTR0G6uIyYRK0cDbFOOKMhsbQX7lf5NRU2xkk8stwqguY9aAWQZIkIrQxao4c AHvrHGFevfm0rKSBZ4ECtcX4IdonJn6+uTsrUQrlbuq3N8/BsgoSkKjKGL479TpIqK2aq8 alukOoJj7U3P/NcK17Ty9zX0ENqGXsckSzMUSkGufyU2qQDi11WlnATAmvKcik2BdNyjy4 pnpzK3CICbeaPhgcVW8k6+U0sCDmuvdURsE83O8VifRTd7Y7LEAz/q4S4OEeJoW/555dyb BUIVr7CBUnN67duDag3WoPe4zC/8c2LHvWSAKyQNDKHtd735/aoaXX5HI3XFvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715897994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1Ql5yNBB+j6k1uoCD487FjuMo57NAz1CQ5lzMGlU7MI=; b=jb/Uc8ZgrhNACru5ZFSsr0bjNT2z/0aoHhDb4asv/SHeAd9qG0/jDo0KD6T/h1SmabS98w mr9VwnKEQvRMRic4kYTvK3yJJLGdl96naFB6WHi9GGICMnQXRhhLDvSb16kxF8dypmS+vS jtqWD4rSJiEb7VAYVBu2V8rL+L0H4Cjv2kSUxzZuQvm8MWuehx7Jq5Ntwpj1PQ5LjsGRhZ UvycN1hRvj1JDUJvR8HZkfOcQdoIrUJVV5xX62Fo2DbhDKxrR21tgMp+fBytFomKNWdCYq 4AQ6C/iPNFXoAVbZJUW/zretjTb6VdOUNGhV16ULaGmplxTq69IRT3ej1fKYwA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VgPfL005lzGtl; Thu, 16 May 2024 22:19:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44GMJrjp044109; Thu, 16 May 2024 22:19:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44GMJrYq044106; Thu, 16 May 2024 22:19:53 GMT (envelope-from git) Date: Thu, 16 May 2024 22:19:53 GMT Message-Id: <202405162219.44GMJrYq044106@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: cf87c36466fa - main - security/botan2: fix build on powerpc64 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cf87c36466fa256148c17d28a66825746cd1f69f Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf87c36466fa256148c17d28a66825746cd1f69f commit cf87c36466fa256148c17d28a66825746cd1f69f Author: Piotr Kubaj AuthorDate: 2024-05-16 14:03:51 +0000 Commit: Piotr Kubaj CommitDate: 2024-05-16 22:19:48 +0000 security/botan2: fix build on powerpc64 In file included from src/lib/block/aes/aes_power8/aes_power8.cpp:15: /usr/lib/clang/18/include/altivec.h:17365:10: error: '__builtin_altivec_crypto_vcipher' needs target feature power8-vector 17365 | return __builtin_altivec_crypto_vcipher(__a, __b); | ^ --- security/botan2/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/security/botan2/Makefile b/security/botan2/Makefile index 231db7ec7a05..a291f1d1961a 100644 --- a/security/botan2/Makefile +++ b/security/botan2/Makefile @@ -78,6 +78,9 @@ SQLITE3_CONFIGURE_WITH= sqlite3 CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto" .elif ${ARCH} == powerpc64 CONFIGURE_ARGS+= --cpu="ppc64" +.if !defined(MACHINE_CPU) || (defined(MACHINE_CPU) && !${MACHINE_ABI:Mvsx2}) +CONFIGURE_ARGS+= --disable-powercrypto +.endif .elif ${ARCH} == powerpc64le CONFIGURE_ARGS+= --cpu="ppc64le" .endif