summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/g-wrap/files')
-rw-r--r--dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch b/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch
index 1b5f8f13940e..cf4f4b36c139 100644
--- a/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch
+++ b/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch
@@ -1,11 +1,13 @@
---- configure.ac.old 2007-01-19 16:07:41.000000000 +0100
-+++ configure.ac 2007-01-19 16:07:59.000000000 +0100
-@@ -95,7 +95,7 @@
+--- configure.ac.old 2007-01-20 10:54:27.000000000 +0100
++++ configure.ac 2007-01-20 10:55:49.000000000 +0100
+@@ -95,7 +95,9 @@
AM_CONDITIONAL(HAVE_SRFI_35, test "$HAVE_SRFI_35" = yes)
dnl Check for optional libraries
-PKG_CHECK_MODULES(GLIB, glib, [have_glib=yes], [have_glib=no])
-+PKG_CHECK_MODULES(GLIB, glib-2.0, [have_glib=yes], [have_glib=no])
++if test "x$with_glib" != "xno"; then
++ PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])
++fi
AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
dnl Check for compiler flags and warnings. This should be last, since