Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2023 07:43:01 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ec80eff163d3 - main - biology/mothur: Fix build with clang-16
Message-ID:  <202308150743.37F7h1q9042516@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ec80eff163d354e6b456edf9bf1f14a40e82abca

commit ec80eff163d354e6b456edf9bf1f14a40e82abca
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-15 07:42:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-15 07:42:10 +0000

    biology/mothur: Fix build with clang-16
    
    Reported by:    fallout
---
 biology/mothur/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/biology/mothur/Makefile b/biology/mothur/Makefile
index 4a8a6aa6cd57..8c2bde5c481e 100644
--- a/biology/mothur/Makefile
+++ b/biology/mothur/Makefile
@@ -14,6 +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
 
 MAKE_ARGS=	INSTALL_DIR=${STAGEDIR}${PREFIX}/bin
 


home | help

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