diff options
author | linimon <linimon@FreeBSD.org> | 2016-11-11 17:07:21 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2016-11-11 17:07:21 +0800 |
commit | 95d19776f05f9440c1026c6139c40ffd9f1bac5a (patch) | |
tree | e00ab8f1afacbd25c3d676ed40e7edef0ae87bf3 /biology | |
parent | d88ff274d52ae1f014452a273ba7177cec2ac274 (diff) | |
download | freebsd-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/Makefile | 8 |
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> |