aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2016-11-11 17:07:21 +0800
committerlinimon <linimon@FreeBSD.org>2016-11-11 17:07:21 +0800
commit95d19776f05f9440c1026c6139c40ffd9f1bac5a (patch)
treee00ab8f1afacbd25c3d676ed40e7edef0ae87bf3 /biology
parentd88ff274d52ae1f014452a273ba7177cec2ac274 (diff)
downloadfreebsd-ports-gnome-95d19776f05f9440c1026c6139c40ffd9f1bac5a.tar.gz
freebsd-ports-gnome-95d19776f05f9440c1026c6139c40ffd9f1bac5a.tar.zst
freebsd-ports-gnome-95d19776f05f9440c1026c6139c40ffd9f1bac5a.zip
Attempt to fix build on non-x86 archs.
Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'biology')
-rw-r--r--biology/bwa/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/biology/bwa/Makefile b/biology/bwa/Makefile
index 3dfa08543049..5afe21194947 100644
--- a/biology/bwa/Makefile
+++ b/biology/bwa/Makefile
@@ -17,14 +17,16 @@ USE_PERL5= run
PLIST_FILES= bin/bwa bin/qualfa2fq.pl bin/xa2multi.pl man/man1/bwa.1.gz
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64 || ${ARCH} == i386
# Avoid #error in emmintrin.h
CFLAGS+= -msse2
-
-BROKEN_powerpc64= Does not build on powerpc64
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bwa ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>