summaryrefslogtreecommitdiff
path: root/graphics/graphviz/patches/patch-as
blob: 764c9f9b9c09531a755005845a36276db3151c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-as,v 1.10 2008/03/11 15:46:57 joerg Exp $

--- tclpkg/gv/Makefile.am.orig	2008-03-11 16:07:00.000000000 +0100
+++ tclpkg/gv/Makefile.am
@@ -14,8 +14,10 @@ AM_CPPFLAGS = \
 LIBS =  @LIBS@ -lc
 
 BASESOURCES = gv.cpp gv.i
-BASELIBS = $(top_builddir)/lib/gvc/libgvc.la
-
+BASELIBS = $(top_builddir)/lib/gvc/libgvc.la \
+	$(top_builddir)/lib/cgraph/libcgraph.la \
+	$(top_builddir)/lib/graph/libgraph.la \
+	$(top_builddir)/lib/cdt/libcdt.la
 pkgsharpdir = $(pkglibdir)/sharp
 SHARP_data = gv.cs gvPINVOKE.cs SWIGTYPE_p_Agraph_t.cs SWIGTYPE_p_Agnode_t.cs SWIGTYPE_p_Agedge_t.cs SWIGTYPE_p_Agsym_t.cs SWIGTYPE_p_FILE.cs
 nodist_libgv_sharp_la_SOURCES = gv_sharp.cpp $(SHARP_data)
@@ -30,7 +32,7 @@ pkgguiledir = $(pkglibdir)/guile
 GUILE_data = 
 nodist_libgv_guile_la_SOURCES = gv_guile.cpp $(GUILE_data)
 libgv_guile_la_SOURCES = $(BASESOURCES) gv_dummy_init.cpp
-libgv_guile_la_LIBADD = $(BASELIBS) @GUILE_LIBS@
+libgv_guile_la_LIBADD = $(BASELIBS) @GUILE_LIBS@ -lguile
 libgv_guile_la_LDFLAGS = -module -avoid-version
 $(GUILE_data): gv_guile.cpp
 gv_guile.cpp: gv.i