[139000] trunk/dports/irc/hexchat

raimue at macports.org raimue at macports.org
Mon Jul 27 03:07:52 PDT 2015


Revision: 139000
          https://trac.macports.org/changeset/139000
Author:   raimue at macports.org
Date:     2015-07-27 03:07:52 -0700 (Mon, 27 Jul 2015)
Log Message:
-----------
irc/hexchat:
Add missing dependency on gtk-mac-integration-gtk2 for +quartz variant, closes #48445

Modified Paths:
--------------
    trunk/dports/irc/hexchat/Portfile

Added Paths:
-----------
    trunk/dports/irc/hexchat/files/
    trunk/dports/irc/hexchat/files/patch-gtk-mac-integration-gtk2.diff

Modified: trunk/dports/irc/hexchat/Portfile
===================================================================
--- trunk/dports/irc/hexchat/Portfile	2015-07-27 09:13:04 UTC (rev 138999)
+++ trunk/dports/irc/hexchat/Portfile	2015-07-27 10:07:52 UTC (rev 139000)
@@ -5,6 +5,7 @@
 
 name                hexchat
 version             2.10.2
+revision            1
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          irc
 maintainers         raimue \
@@ -68,6 +69,9 @@
 
 variant quartz conflicts xft {
     configure.args-append --disable-xlib
+    depends_lib-append port:gtk-osx-application-gtk2
+    patchfiles-append patch-gtk-mac-integration-gtk2.diff
+    use_autoreconf yes
 }
 
 variant python27 description "Enable Python plugin, using python27" conflicts python33 python34 {

Added: trunk/dports/irc/hexchat/files/patch-gtk-mac-integration-gtk2.diff
===================================================================
--- trunk/dports/irc/hexchat/files/patch-gtk-mac-integration-gtk2.diff	                        (rev 0)
+++ trunk/dports/irc/hexchat/files/patch-gtk-mac-integration-gtk2.diff	2015-07-27 10:07:52 UTC (rev 139000)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2015-07-27 12:02:07.000000000 +0200
++++ configure.ac	2015-07-27 12:02:19.000000000 +0200
+@@ -216,7 +216,7 @@
+ 
+ _gdk_tgt=`$PKG_CONFIG --variable=target gdk-2.0`
+ if test "x$_gdk_tgt" = xquartz; then
+-		PKG_CHECK_MODULES(GTK_MAC, gtk-mac-integration, [
++		PKG_CHECK_MODULES(GTK_MAC, gtk-mac-integration-gtk2, [
+ 			GUI_LIBS="$GUI_LIBS $GTK_MAC_LIBS"
+ 			GUI_CFLAGS="$GUI_CFLAGS $GTK_MAC_CFLAGS"
+ 			AC_DEFINE(HAVE_GTK_MAC)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150727/5fcd7b70/attachment-0001.html>


More information about the macports-changes mailing list