From nobody Fri Aug 18 06:57:22 2023 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 4RRt3R2d0bz4qnqq; Fri, 18 Aug 2023 06:57:23 +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 4RRt3Q6Vktz4bQg; Fri, 18 Aug 2023 06:57:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692341842; 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=OmXEX7L4akr+CHltkAvUqAp4fa0dHl0rrlKCTwXV7lo=; b=ykGqbDjHu5okRILPTFA2O5+nyGSuaL5FvnILGB28HgKG8JneyfpGHqn+aa0sfu3k8K1TAj jhnveLPzPpNZ9/YFI8yP7EZ4ZU5zkE4WeLI1GE6F+uwvg2078ss9SSPyvgZK0tzorqN0D/ x2xtFl1jw2Pty294zVHAti8lHBEBifKAHV6AFzw9ZRlju+vLx8ORxFpZ4Afjw2ONMDOyQ9 C8u0AcKSyJgMmh6dXhxtQN9pDHPShV3sKdzaS2hG7HFEKcxREUCYbCfcfHTkqBENmrWWTq RV18NvjP5u70SrIFGpIi4fvEQipl8+N+tyijnwqEno9LX8JXvaLhd34gadw0yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692341842; 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=OmXEX7L4akr+CHltkAvUqAp4fa0dHl0rrlKCTwXV7lo=; b=r3GB40cqcyJeFMmDmVybedNRpm3pf8gZu01bDPNvagGG1LoFul4MKtBzelJX+N82fLIr5c OYv1oHURtcHqsXT0Shs2YoKJrnASjiMOsjcSn1ZVPaD8407Syy0jogO/x0IfHQh1+5ZaCX oenyxm5xk0+2iFe62qwZNntBXu6M5unhGvNQGmXkx9L9dW1W/a2K5EUmkfmow/XkEiY5kk FXHr2JuWj8ae5526zAoLl1uy1l12yeFYaXMTvCMgFWN01jVhq79tCfMw9njwig1aXmSVtt hpln1Soha+WFhY4wlzH0evWJa4tHYhFcMd48//5+VULkLXRj5W9m4nCGGgqLWA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692341842; a=rsa-sha256; cv=none; b=MEp5WQ7HpXTNOlOuCx5sY0rJTKTy14Z3FORg0Bh/LzKdcKuvKSVCZbHSM4DRywGdO+dRUq zXIfXbJ7bB9mOrnWamV6YGga1/Qz7mUnrs+myb6Wg/rKAyJXHYnIX9j/YkMhIqUmfpgNsd Wa2GZrJqM/zjbD/ZYBlrhHdyf0bzcV5TpQ3jir799x/UNLDjY9WCKZ6tBSgKmKubOL1U8T wl4urLNLkbkmC2CUk+NKhKWq2PoNX8YvdK5RJgz2T+hceAgPg28GdaZkvE5sULEIdOWcFg 1bnUd/d+ZH6xaoOuecc9tF0ABU/QqaeQTw0BZ2BZKb/HRO2lyskyME0VwRm4Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRt3Q5ccgz164b; Fri, 18 Aug 2023 06:57:22 +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 37I6vM0g082938; Fri, 18 Aug 2023 06:57:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37I6vMd7082935; Fri, 18 Aug 2023 06:57:22 GMT (envelope-from git) Date: Fri, 18 Aug 2023 06:57:22 GMT Message-Id: <202308180657.37I6vMd7082935@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: a5b5a22ade57 - main - biology/mothur: Fix build on 14 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5b5a22ade5713b3b2f9bddcb6fa95fe4aa51b9c Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5b5a22ade5713b3b2f9bddcb6fa95fe4aa51b9c commit a5b5a22ade5713b3b2f9bddcb6fa95fe4aa51b9c Author: Muhammad Moinur Rahman AuthorDate: 2023-08-18 05:33:25 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-18 06:57:12 +0000 biology/mothur: Fix build on 14 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- biology/mothur/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/biology/mothur/Makefile b/biology/mothur/Makefile index 8c2bde5c481e..2d16bf482f08 100644 --- a/biology/mothur/Makefile +++ b/biology/mothur/Makefile @@ -14,7 +14,7 @@ BUILD_DEPENDS= bash:shells/bash USES= compiler:c++11-lang gmake localbase readline USE_GITHUB= yes -USE_CXXSTD= c++11 # not all C++ files are compiled with -std=c++11 which causes failure in addtargets2.cpp due to a collision of the 'byte' symbol with std::byte +#USE_CXXSTD= c++11 # not all C++ files are compiled with -std=c++11 which causes failure in addtargets2.cpp due to a collision of the 'byte' symbol with std::byte MAKE_ARGS= INSTALL_DIR=${STAGEDIR}${PREFIX}/bin @@ -24,6 +24,15 @@ BINARY_ALIAS= g++=${CXX} PLIST_FILES= bin/${PORTNAME} +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}