Revision
107452
Author
jeremyhu@macports.org
Date
2013-06-29 11:27:45 -0700 (Sat, 29 Jun 2013)

Log Message

anjuta: Build fix, add missing link against gmodule

Modified Paths

Added Paths

Diff

Modified: trunk/dports/gnome/anjuta/Portfile (107451 => 107452)


--- trunk/dports/gnome/anjuta/Portfile	2013-06-29 18:26:14 UTC (rev 107451)
+++ trunk/dports/gnome/anjuta/Portfile	2013-06-29 18:27:45 UTC (rev 107452)
@@ -23,6 +23,7 @@
 
 depends_build   port:pkgconfig \
                 port:intltool \
+                port:gnome-common \
                 port:gnome-doc-utils \
                 port:gtk-doc \
                 port:p5.12-locale-gettext
@@ -40,12 +41,15 @@
                 port:yelp \
                 port:xdg-utils
 
-patchfiles      patch-plugins-project-wizard-autogen.c.diff
+patchfiles      patch-plugins-project-wizard-autogen.c.diff patch-configure.in.diff
 
 post-patch {
         reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|" ${worksrcpath}/scripts/builder2schema.pl
 }
 
+use_autoreconf  yes
+autoreconf.args -fvi
+
 configure.perl  ${prefix}/bin/perl5.12
 configure.args  --enable-static \
                 --enable-introspection=no \

Added: trunk/dports/gnome/anjuta/files/patch-configure.in.diff (0 => 107452)


--- trunk/dports/gnome/anjuta/files/patch-configure.in.diff	                        (rev 0)
+++ trunk/dports/gnome/anjuta/files/patch-configure.in.diff	2013-06-29 18:27:45 UTC (rev 107452)
@@ -0,0 +1,10 @@
+--- configure.in.orig	2013-06-29 10:59:10.000000000 -0700
++++ configure.in	2013-06-29 10:59:56.000000000 -0700
+@@ -147,6 +147,7 @@ PKG_CHECK_MODULES([ANJUTA], 
+    [gthread-2.0 >= $GTHREAD_REQUIRED 
+ 	unique-1.0 >= $UNIQUE_REQUIRED
+ 	glib-2.0 >= $GLIB_REQUIRED
++	gmodule-2.0 >= $GLIB_REQUIRED
+ 	gio-2.0 >= $GLIB_REQUIRED
+ 	gtk+-2.0 >= $GTK_REQUIRED
+ 	gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED