[102946] trunk/dports/irc/xchat2
jeremyhu at macports.org
jeremyhu at macports.org
Sun Feb 10 20:30:25 PST 2013
Revision: 102946
https://trac.macports.org/changeset/102946
Author: jeremyhu at macports.org
Date: 2013-02-10 20:30:25 -0800 (Sun, 10 Feb 2013)
Log Message:
-----------
xchat2: Fix missing link against gmodule
Modified Paths:
--------------
trunk/dports/irc/xchat2/Portfile
Added Paths:
-----------
trunk/dports/irc/xchat2/files/patch-gmodule.diff
Modified: trunk/dports/irc/xchat2/Portfile
===================================================================
--- trunk/dports/irc/xchat2/Portfile 2013-02-11 03:30:34 UTC (rev 102945)
+++ trunk/dports/irc/xchat2/Portfile 2013-02-11 04:30:25 UTC (rev 102946)
@@ -31,9 +31,16 @@
depends_build port:pkgconfig
depends_lib port:gtk2 port:libsexy path:bin/perl:perl5 port:libpng
-patchfiles patch-gtk2.19.7.diff patch-glib-2.32.diff
+patchfiles patch-gtk2.19.7.diff patch-glib-2.32.diff patch-gmodule.diff
patch.pre_args -p1
+post-extract {
+ system "touch ${worksrcpath}/NEWS"
+ system "touch ${worksrcpath}/ABOUT-NLS"
+}
+
+use_autoconf yes
+
configure.args --disable-python --disable-mmx --enable-ipv6 \
--disable-openssl --disable-dependency-tracking
universal_variant no
Added: trunk/dports/irc/xchat2/files/patch-gmodule.diff
===================================================================
--- trunk/dports/irc/xchat2/files/patch-gmodule.diff (rev 0)
+++ trunk/dports/irc/xchat2/files/patch-gmodule.diff 2013-02-11 04:30:25 UTC (rev 102946)
@@ -0,0 +1,15 @@
+--- a/configure.in.orig 2013-02-10 20:06:08.000000000 -0800
++++ a/configure.in 2013-02-10 20:09:57.000000000 -0800
+@@ -182,8 +182,10 @@ dnl ************************************
+ dnl ** GNOME ************************************************************
+ dnl *********************************************************************
+
+-GUI_LIBS="$GUI_LIBS $GTK_LIBS"
+-GUI_CFLAGS="$GUI_CFLAGS $GTK_CFLAGS"
++PKG_CHECK_MODULES(GMODULE, gmodule-2.0)
++
++GUI_LIBS="$GUI_LIBS $GTK_LIBS $GMODULE_LIBS"
++GUI_CFLAGS="$GUI_CFLAGS $GTK_CFLAGS $GMODULE_CFLAGS"
+
+ gnome=no
+ #if test "$gnome" = yes; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130210/5421b329/attachment.html>
More information about the macports-changes
mailing list