biology/mothur: Fix build on 14
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
f389376742
commit
a5b5a22ade
1 changed files with 10 additions and 1 deletions
|
@ -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 <bsd.port.options.mk>
|
||||
|
||||
.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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue