Revision
79897
Author
jeremyhu@macports.org
Date
2011-06-28 22:34:19 -0700 (Tue, 28 Jun 2011)

Log Message

graphviz: Build fix on platforms without /usr/lib/libltdl.a

dev timeout via email x 2

Modified Paths

Added Paths

Diff

Modified: trunk/dports/graphics/graphviz/Portfile (79896 => 79897)


--- trunk/dports/graphics/graphviz/Portfile	2011-06-29 05:27:53 UTC (rev 79896)
+++ trunk/dports/graphics/graphviz/Portfile	2011-06-29 05:34:19 UTC (rev 79897)
@@ -108,6 +108,11 @@
                                 --disable-ruby \
                                 --disable-tcl
 
+# http://www.graphviz.org/mantisbt/view.php?id=2109
+patchfiles libltdl.patch
+use_autoreconf yes
+autoreconf.args -fvi
+
 platform macosx {
     if {${os.major} > 8} {
         configure.args-delete   --without-quartz

Added: trunk/dports/graphics/graphviz/files/libltdl.patch (0 => 79897)


--- trunk/dports/graphics/graphviz/files/libltdl.patch	                        (rev 0)
+++ trunk/dports/graphics/graphviz/files/libltdl.patch	2011-06-29 05:34:19 UTC (rev 79897)
@@ -0,0 +1,12 @@
+--- lib/gvc/Makefile.am.orig	2011-06-26 03:07:07.000000000 -0700
++++ lib/gvc/Makefile.am	2011-06-26 03:07:27.000000000 -0700
+@@ -55,7 +55,6 @@ libgvc_C_la_DEPENDENCIES +=  $(top_build
+ endif
+ if ENABLE_LTDL
+-libgvc_C_la_LIBADD += $(LIBLTDL) $(LIBLTDL_LDFLAGS)
++libgvc_C_la_LIBADD += @LIBLTDL@ $(LIBLTDL_LDFLAGS)
+-libgvc_C_la_DEPENDENCIES += $(LIBLTDL)
+ endif
+ 
+ libgvc_la_LDFLAGS = -version-info $(GVC_VERSION) -no-undefined
+