MFH: r549974

biology/py-scikit-bio: Fix build on the i386 architecture

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
This commit is contained in:
Yuri Victorovich 2020-09-25 01:39:02 +00:00
parent f3a6b7e8ca
commit 693f2c2763
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=549979

View File

@ -28,4 +28,11 @@ RUN_DEPENDS= ${PYNUMPY} \
USES= python:3.5+ USES= python:3.5+
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
.include <bsd.port.mk> .include <bsd.port.pre.mk>
.if ${ARCH} == i386
CFLAGS+= -msse2 # workaround for https://github.com/biocore/scikit-bio/issues/1727
CXXFLAGS+= -msse2
.endif
.include <bsd.port.post.mk>