Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2019 00:37:59 +0000 (UTC)
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504153 - head/biology/ncbi-blast+
Message-ID:  <201906140037.x5E0bx82065388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jwb
Date: Fri Jun 14 00:37:59 2019
New Revision: 504153
URL: https://svnweb.freebsd.org/changeset/ports/504153

Log:
  biology/ncbi-blast+: Fix build on powerpc64, add run dep for update_blastdb.pl

Modified:
  head/biology/ncbi-blast+/Makefile

Modified: head/biology/ncbi-blast+/Makefile
==============================================================================
--- head/biology/ncbi-blast+/Makefile	Fri Jun 14 00:28:49 2019	(r504152)
+++ head/biology/ncbi-blast+/Makefile	Fri Jun 14 00:37:59 2019	(r504153)
@@ -13,8 +13,6 @@ COMMENT=	NCBI implementation of Basic Local Alignment 
 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=${
 
 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>



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