aboutsummaryrefslogtreecommitdiffstats
path: root/biology/bwa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/bwa/Makefile')
-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>