Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: installing graphviz from pkgsrc on NetBSD/macppc 9.1
Hi,
based on hints from other developers, you could test this patch
to the graphviz Makefile:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/graphviz/Makefile,v
retrieving revision 1.241
diff -u -r1.241 Makefile
--- Makefile 8 Dec 2021 16:04:56 -0000 1.241
+++ Makefile 28 Dec 2021 23:51:28 -0000
@@ -102,6 +102,13 @@
BUILDLINK_TRANSFORM+= rm:-Wno-unused-parameter
.endif
+.if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc")
+# Forces link with -lgomp directly instead of via dlopen()
+# so we don't overflow thread-local storage in ld.elf_so
+CFLAGS+= -fopenmp
+CONFIGURE_ARGS+= CFLAGS="${CFLAGS}"
+.endif
+
.if ${OPSYS} == "FreeBSD"
SUBST_CLASSES+= sfflags
SUBST_STAGE.sfflags= pre-configure
With this, my test program succeeds, and lib/graphviz/config6 for
is initialized as it should be.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index