source: trunk/dports/irc/hexchat/files/patch-gobject.diff @ 110850

Last change on this file since 110850 was 110850, checked in by raimue@…, 7 years ago

irc/hexchat:
New port, successor to xchat2, closes #40256

File size: 1.0 KB
  • hexchat-2.9.5/configure.ac

    Upstream: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-irc/hexchat/files/hexchat-2.9.5-gobject.patch?revision=1.1
    
    From: Julian Ospald <hasufell@gentoo.org>
    Date: Wed May  8 23:22:23 UTC 2013
    Subject: fix build time error
    
    https://bugs.gentoo.org/show_bug.cgi?id=469122
    https://github.com/hexchat/hexchat/pull/580
    
     
    190190if test "$glib" = no; then
    191191        AC_MSG_ERROR(Cannot find GLib!)
    192192fi
     193PKG_CHECK_MODULES([GOBJECT], [gobject-2.0], [], [AC_MSG_ERROR(Cannot find gobject-2.0!)])
    193194
    194 COMMON_CFLAGS="$GLIB_CFLAGS"
    195 COMMON_LIBS="$GLIB_LIBS"
     195COMMON_CFLAGS="$GLIB_CFLAGS $GOBJECT_CFLAGS"
     196COMMON_LIBS="$GLIB_LIBS $GOBJECT_LIBS"
    196197COMMON_LIBS="$COMMON_LIBS -lgmodule-2.0"
    197198
    198199dnl *********************************************************************
     
    213214
    214215if test "$gtkfe" != yes; then
    215216        gnome=no
    216         COMMON_LIBS="$GLIB_LIBS"
    217         COMMON_CFLAGS="$GLIB_CFLAGS"
    218217fi
    219218
    220219dnl *********************************************************************
Note: See TracBrowser for help on using the repository browser.