diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-09 13:16:49 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-09 13:16:49 +0000 |
commit | 9d79e7b1469f6887d302e13ce7c67c54408a2453 (patch) | |
tree | 263754af5ddd95f1ad55b06c101378a0cf71009b /biology | |
parent | a0e384abe8236d5d12c69354d90c0de5342f7efb (diff) | |
download | ports-9d79e7b1469f6887d302e13ce7c67c54408a2453.tar.gz ports-9d79e7b1469f6887d302e13ce7c67c54408a2453.zip |
Notes
Diffstat (limited to 'biology')
-rw-r--r-- | biology/seqan-apps/Makefile | 10 | ||||
-rw-r--r-- | biology/ugene/Makefile | 8 |
2 files changed, 3 insertions, 15 deletions
diff --git a/biology/seqan-apps/Makefile b/biology/seqan-apps/Makefile index 7ef0d3d826f0..a8bd2161b730 100644 --- a/biology/seqan-apps/Makefile +++ b/biology/seqan-apps/Makefile @@ -28,16 +28,6 @@ USE_GCC= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} < 1000000 -post-patch: - # missing C99 functions in FreeBSD's math.h, use C++ instead - @${REINPLACE_CMD} -e 's|expl(|std::exp(|g' ${WRKSRC}/apps/snp_store/snp_store.h - @${REINPLACE_CMD} -e 's|logl(|std::log(|g' ${WRKSRC}/apps/snp_store/snp_store.h - # the other way around (use math.h instead of cmath) - @${REINPLACE_CMD} -e 's|std::round|round|g' ${WRKSRC}/apps/yara/mapper_writer.h - @${REINPLACE_CMD} -e 's|std::erfc|erfc|g' ${WRKSRC}/apps/yara/bits_matches.h -.endif - .if ${ARCH} == "i386" PLIST_SUB+= RM_I386="@comment " .else diff --git a/biology/ugene/Makefile b/biology/ugene/Makefile index 337315a28f48..15b540e19e63 100644 --- a/biology/ugene/Makefile +++ b/biology/ugene/Makefile @@ -31,6 +31,9 @@ QMAKE_ARGS= INSTALL_PREFIX="${PREFIX}" UGENE_INSTALL_DATA="${DATADIR}" \ LUPDATE="${LUPDATE}" ALL_TARGET= release +# Required for Google Test code +CXXFLAGS+= -std=c++11 + DOCSDIR= ${DATADIR}/manuals OPTIONS_DEFINE= DOCS @@ -38,11 +41,6 @@ DOCS_DESC= Install official UGENE documentation (PDF) .include <bsd.port.pre.mk> -# Required for Google Test code -.if ${OSVERSION} > 1000054 -CXXFLAGS+= -std=c++11 -.endif - .if ${ARCH} == amd64 # XXX: need to manually tell the build we are on x64 QMAKE_ARGS+= CONFIG+=x64 |