diff --git a/math/py-ducc0/Makefile b/math/py-ducc0/Makefile index e56412e97a28..9f229e535e1b 100644 --- a/math/py-ducc0/Makefile +++ b/math/py-ducc0/Makefile @@ -1,36 +1,36 @@ PORTNAME= ducc0 PORTVERSION= 0.9.0 PORTREVISION= 1 CATEGORIES= math MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Distinctly Useful Code Collection (DUCC) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= fatal error: use of undeclared identifier '_pdep_u64'; did you mean '_pdep_u32'? (author notified via e-mail on 2021-05-02) BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist MAKE_ENV= DUCC0_OPTIMIZATION=none .include -.if ${ARCH} == powerpc64le +.if ${ARCH:Mpowerpc64*} CFLAGS+= -DNO_WARN_X86_INTRINSICS USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++17-lang .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ducc0*.so .include