mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
Attempt to fix build on non-x86 archs.
Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
5540c8ef6e
commit
5d68e2b905
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425878
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user