openbsd-ports/math/graphviz/patches/patch-cmd_dot_Makefile_in
edd 58c619c08c Clean up and Update to graphviz-2.28.0.
Taking MAINTAINER (discussed with espie on icb).

OK ajacoutot@, sebastia@

At some point in the future, the language bindings should be
multi-packaged, but that is another story.
2012-08-22 09:55:01 +00:00

18 lines
785 B
Plaintext

$OpenBSD: patch-cmd_dot_Makefile_in,v 1.2 2012/08/22 09:55:01 edd Exp $
Add pthread linkage or '@exec dot -c' will fail with "file not found"
when trying to dlopen(). Not because the file is missing, but because
there is a linker error. Sigh, obvious isn't it?
--- cmd/dot/Makefile.in.orig2 Sat May 7 04:27:39 2011
+++ cmd/dot/Makefile.in Mon Jun 18 12:39:40 2012
@@ -570,7 +570,7 @@ man_MANS = dot.1 osage.1 patchwork.1
pdf_DATA = dot.1.pdf osage.1.pdf patchwork.1.pdf
dot_SOURCES = dot.c no_builtins.c
dot_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=1
-dot_LDADD = $(top_builddir)/lib/gvc/libgvc.la
+dot_LDADD = $(top_builddir)/lib/gvc/libgvc.la -pthread
dot_static_SOURCES = dot.c dot_builtins.c
dot_static_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=0
dot_static_LDADD = \