aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2019-06-14 00:37:59 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2019-06-14 00:37:59 +0000
commite66bb2a167dc3f76185ab3ea94ec70e33f58d623 (patch)
tree0a1dfb708d2005f7de9b3222e0efc173910443cc /biology
parent75a54fb559232e9013ae3801d400a6c2291828ad (diff)
downloadports-e66bb2a167dc3f76185ab3ea94ec70e33f58d623.tar.gz
ports-e66bb2a167dc3f76185ab3ea94ec70e33f58d623.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/ncbi-blast+/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/biology/ncbi-blast+/Makefile b/biology/ncbi-blast+/Makefile
index d2a451c39ea9..5eb3ebd668b1 100644
--- a/biology/ncbi-blast+/Makefile
+++ b/biology/ncbi-blast+/Makefile
@@ -13,8 +13,6 @@ COMMENT= NCBI implementation of Basic Local Alignment Search Tool
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/scripts/projects/blast/LICENSE
-BROKEN_powerpc64= fails to build: Error 2
-
LIB_DEPENDS= libpcre.so:devel/pcre \
liblmdb.so:databases/lmdb \
liblzo2.so:archivers/lzo2 \
@@ -29,7 +27,8 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error \
libsqlite3.so:databases/sqlite3
-RUN_DEPENDS= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils
+RUN_DEPENDS= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \
+ p5-JSON>=0:converters/p5-JSON
USES= compiler:openmp gmake shebangfix perl5 python
USE_LDCONFIG= yes
@@ -48,10 +47,17 @@ CONFIGURE_ARGS= AR="ar cr" --without-boost --libdir=${PREFIX}/lib/ncbi-tools++
WRKSRC_SUBDIR= c++
+.include <bsd.port.pre.mk>
+
+# Force newer GCC on platforms using GCC 4.2 as base
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+USE_GCC= yes
+.endif
+
post-install:
@${RM} ${STAGEDIR}${PREFIX}/include/ncbi-tools++/*/*/.cvsignore.extra
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/X11
@${RMDIR} ${STAGEDIR}${PREFIX}/lib/debug
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ncbi-tools++/*.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>