[79897] trunk/dports/graphics/graphviz

jeremyhu at macports.org jeremyhu at macports.org
Tue Jun 28 22:34:21 PDT 2011


Revision: 79897
          http://trac.macports.org/changeset/79897
Author:   jeremyhu at 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:
--------------
    trunk/dports/graphics/graphviz/Portfile

Added Paths:
-----------
    trunk/dports/graphics/graphviz/files/
    trunk/dports/graphics/graphviz/files/libltdl.patch

Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- 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
===================================================================
--- 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
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110628/bf013c45/attachment.html>


More information about the macports-changes mailing list