Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 23:16:26 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549974 - head/biology/py-scikit-bio
Message-ID:  <202009242316.08ONGQ1u088511@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Sep 24 23:16:26 2020
New Revision: 549974
URL: https://svnweb.freebsd.org/changeset/ports/549974

Log:
  biology/py-scikit-bio: Fix build on the i386 architecture
  
  Reported by:	fallout
  MFH:		2020Q3

Modified:
  head/biology/py-scikit-bio/Makefile

Modified: head/biology/py-scikit-bio/Makefile
==============================================================================
--- head/biology/py-scikit-bio/Makefile	Thu Sep 24 23:12:02 2020	(r549973)
+++ head/biology/py-scikit-bio/Makefile	Thu Sep 24 23:16:26 2020	(r549974)
@@ -28,4 +28,11 @@ RUN_DEPENDS=	${PYNUMPY} \
 USES=		python:3.7+
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009242316.08ONGQ1u088511>