biology/py-scikit-bio: build with clang on powerpc64le

This commit is contained in:
Piotr Kubaj 2022-04-19 12:30:12 +02:00
parent dc669f8d68
commit a3f5e20929

View file

@ -1,5 +1,6 @@
PORTNAME= scikit-bio
PORTVERSION= 0.5.7
PORTREVISION= 1
CATEGORIES= biology education python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -34,7 +35,7 @@ CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}ddtrace # lib/python3.8/site-packages/
.if ${ARCH} == i386
CFLAGS+= -msse2 # workaround for https://github.com/biocore/scikit-bio/issues/1727
CXXFLAGS+= -msse2
.elif ${ARCH:Mpowerpc64*}
.elif ${ARCH} == powerpc64
CFLAGS+= -DNO_WARN_X86_INTRINSICS
USE_GCC= yes
.endif