git: 331a7419420d - main - math/py-ducc0: Broken on 11
Jan Beich
jbeich at FreeBSD.org
Tue Aug 10 07:09:22 UTC 2021
Yuri Victorovich <yuri at FreeBSD.org> writes:
> +BROKEN_FreeBSD_11= ducc.o: file not recognized: File format not recognized
Can you try the following?
diff --git a/math/py-ducc0/Makefile b/math/py-ducc0/Makefile
index b23c22f8736e..215fbe9d45c5 100644
--- a/math/py-ducc0/Makefile
+++ b/math/py-ducc0/Makefile
@@ -10,8 +10,6 @@ COMMENT= Distinctly Useful Code Collection (DUCC)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_11= ducc.o: file not recognized: File format not recognized
-
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
USES= python:3.6+
@@ -20,6 +18,11 @@ USE_PYTHON= distutils autoplist
MAKE_ENV= DUCC0_OPTIMIZATION=none
+.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
+# ducc.o: file not recognized: File format not recognized
+LDFLAGS+= -fuse-ld=lld
+.endif
+
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc64*}
More information about the dev-commits-ports-all
mailing list