svn commit: r456578 - head/biology/hmmer

Mark Linimon linimon at FreeBSD.org
Mon Dec 18 02:32:48 UTC 2017


Author: linimon
Date: Mon Dec 18 02:32:47 2017
New Revision: 456578
URL: https://svnweb.freebsd.org/changeset/ports/456578

Log:
  Attempt to fix build on non-x86 archs.  Untested, but does no harm
  on x86.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/biology/hmmer/Makefile
  head/biology/hmmer/pkg-plist

Modified: head/biology/hmmer/Makefile
==============================================================================
--- head/biology/hmmer/Makefile	Mon Dec 18 02:24:02 2017	(r456577)
+++ head/biology/hmmer/Makefile	Mon Dec 18 02:32:47 2017	(r456578)
@@ -40,4 +40,13 @@ post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/tutorial/,} ${STAGEDIR}${EXAMPLESDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_CPU:Msse2}
+QMAKE_ARGS+=	UGENE_SSE2_DETECTED=1
+PLIST_SUB+=	SSE2=""
+.else
+PLIST_SUB+=	SSE2="@comment "
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/biology/hmmer/pkg-plist
==============================================================================
--- head/biology/hmmer/pkg-plist	Mon Dec 18 02:24:02 2017	(r456577)
+++ head/biology/hmmer/pkg-plist	Mon Dec 18 02:32:47 2017	(r456578)
@@ -20,7 +20,7 @@ bin/nhmmscan
 bin/phmmer
 include/cachedb.h
 include/hmmer.h
-include/impl_sse.h
+%%SSE2%%include/impl_sse.h
 include/p7_config.h
 include/p7_gbands.h
 include/p7_gmxb.h


More information about the svn-ports-all mailing list