summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2017-12-18 02:32:47 +0000
committerMark Linimon <linimon@FreeBSD.org>2017-12-18 02:32:47 +0000
commit91070ff927354735bfe1b080c16d45cd1c8a231b (patch)
treeb597ebcf7d7057fc0eeca6fa8f88ddc156c68c1d
parentMark broken on arm. (diff)
Attempt to fix build on non-x86 archs. Untested, but does no harm
on x86. Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=456578
-rw-r--r--biology/hmmer/Makefile11
-rw-r--r--biology/hmmer/pkg-plist2
2 files changed, 11 insertions, 2 deletions
diff --git a/biology/hmmer/Makefile b/biology/hmmer/Makefile
index 43623620e1f7..3a3a8f47cfe4 100644
--- a/biology/hmmer/Makefile
+++ b/biology/hmmer/Makefile
@@ -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>
diff --git a/biology/hmmer/pkg-plist b/biology/hmmer/pkg-plist
index c021852447c5..39eb5b34fe29 100644
--- a/biology/hmmer/pkg-plist
+++ b/biology/hmmer/pkg-plist
@@ -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