aboutsummaryrefslogtreecommitdiff
path: root/biology/py-scikit-bio/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-03-09 01:21:22 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-03-09 01:21:22 +0000
commitdb9e4eb8791f0abc2bfc89a380027c01db8719d9 (patch)
tree53cc9165058499c96bca4800aec9ca14dafaad03 /biology/py-scikit-bio/Makefile
parent4800313571ab1e0ec2606a8e78bcf132e2a66e0c (diff)
downloadports-db9e4eb8791f0abc2bfc89a380027c01db8719d9.tar.gz
ports-db9e4eb8791f0abc2bfc89a380027c01db8719d9.zip
Notes
Diffstat (limited to 'biology/py-scikit-bio/Makefile')
-rw-r--r--biology/py-scikit-bio/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/biology/py-scikit-bio/Makefile b/biology/py-scikit-bio/Makefile
index 7c843c33a241..a69ced0a47cd 100644
--- a/biology/py-scikit-bio/Makefile
+++ b/biology/py-scikit-bio/Makefile
@@ -28,11 +28,14 @@ RUN_DEPENDS= ${PYNUMPY} \
USES= python:3.7+
USE_PYTHON= autoplist distutils
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == i386
CFLAGS+= -msse2 # workaround for https://github.com/biocore/scikit-bio/issues/1727
CXXFLAGS+= -msse2
+.elif ${ARCH} == powerpc64le
+CFLAGS+= -DNO_WARN_X86_INTRINSICS
+USE_GCC= yes
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>