There were similar issues in the past:
http://www.graphviz.org/bugs/b1111.html
The patch attached there had been applied
in revision 1.69 of tclpkg/gv/Makefile.am,
but the python hunk had been left out for some reason.
Comments:
[ellson] Did you actually encounter this problem, or are you catching this with some kind of lint tool?
I ask because I use "make -j" all the time on a dual processor machine, and have not encountered
any problems here.
Fix:
diff -ur graphviz-2.16.1.orig/tclpkg/gv/Makefile.am graphviz-2.16.1/tclpkg/gv/Makefile.am
--- graphviz-2.16.1.orig/tclpkg/gv/Makefile.am 2007-12-17 22:10:02.000000000 +0100
+++ graphviz-2.16.1/tclpkg/gv/Makefile.am 2007-12-17 22:12:40.000000000 +0100
@@ -124,7 +124,8 @@
libgv_python_la_SOURCES = $(BASESOURCES) gv_dummy_init.cpp
libgv_python_la_LIBADD = $(BASELIBS) @PYTHON_LIBS@
libgv_python_la_LDFLAGS = -module -avoid-version
-gv_python.cpp $(PYTHON_data): gv.i
+$(PYTHON_data): gv_python.cpp
+gv_python.cpp: gv.i
$(SWIG) -c++ -python -o gv_python.cpp $(srcdir)/gv.i
pkgpython23dir = $(pkglibdir)/python23