git: fa071332cf53 - main - math/py-ducc0: use clang on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 15:51:27 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa071332cf53dac955d319ff22c13fe885335e60

commit fa071332cf53dac955d319ff22c13fe885335e60
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-22 15:37:40 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-22 15:37:40 +0000

    math/py-ducc0: use clang on powerpc64
---
 math/py-ducc0/Makefile | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/math/py-ducc0/Makefile b/math/py-ducc0/Makefile
index aa77c2fdfe44..414f5c56f901 100644
--- a/math/py-ducc0/Makefile
+++ b/math/py-ducc0/Makefile
@@ -17,21 +17,12 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY}
 TEST_DEPENDS=	py.test:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		compiler:c++17-lang python:3.6+
 
 USE_PYTHON=	distutils autoplist
 
 MAKE_ENV=	DUCC0_OPTIMIZATION=none
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc64
-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