[53885] trunk/dports/devel/glib2-devel
ryandesign at macports.org
ryandesign at macports.org
Thu Jul 16 00:21:58 PDT 2009
Revision: 53885
http://trac.macports.org/changeset/53885
Author: ryandesign at macports.org
Date: 2009-07-16 00:21:57 -0700 (Thu, 16 Jul 2009)
Log Message:
-----------
glib2-devel: fix undefined symbols _res_9_dn_expand et al on Tiger; see #20301
Modified Paths:
--------------
trunk/dports/devel/glib2-devel/Portfile
Added Paths:
-----------
trunk/dports/devel/glib2-devel/files/patch-configure.in.diff
Modified: trunk/dports/devel/glib2-devel/Portfile
===================================================================
--- trunk/dports/devel/glib2-devel/Portfile 2009-07-16 07:13:38 UTC (rev 53884)
+++ trunk/dports/devel/glib2-devel/Portfile 2009-07-16 07:21:57 UTC (rev 53885)
@@ -36,13 +36,15 @@
# ${prefix}/include/glib-2.0/glib/gi18n.h requires -I${prefix}/include to find libintl.h
# See http://trac.macports.org/changeset/27148
patchfiles \
+ patch-configure.in.diff \
patch-glib-2.0.pc.in.diff \
patch-gi18n.h.diff \
patch-gio_xdgmime_xdgmime.c.diff \
patch-which.diff
depends_build \
- port:pkgconfig
+ port:pkgconfig \
+ port:autoconf
depends_lib \
port:gettext \
@@ -50,6 +52,8 @@
path:bin/perl:perl5 \
bin:python:python_select
+use_autoconf yes
+
configure.ldflags-append \
-bind_at_load
Added: trunk/dports/devel/glib2-devel/files/patch-configure.in.diff
===================================================================
--- trunk/dports/devel/glib2-devel/files/patch-configure.in.diff (rev 0)
+++ trunk/dports/devel/glib2-devel/files/patch-configure.in.diff 2009-07-16 07:21:57 UTC (rev 53885)
@@ -0,0 +1,10 @@
+--- configure.in.orig 2009-07-14 22:31:00.000000000 -0700
++++ configure.in 2009-07-14 22:31:29.000000000 -0700
+@@ -1012,6 +1012,7 @@
+ ] )
+ ]
+ )
++ AC_CHECK_LIB(resolv, res_9_query, [ LIBASYNCNS_LIBADD="-lresolv" ], )
+ AC_SUBST(LIBASYNCNS_LIBADD)
+ fi
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090716/dd29ebf7/attachment.html>
More information about the macports-changes
mailing list