summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <mrpouet@gentoo.org>2009-09-19 19:04:46 +0000
committerRomain Perier <mrpouet@gentoo.org>2009-09-19 19:04:46 +0000
commit81c004dc7f985a9f7a83392d6eef01e776375128 (patch)
treee8aab539a3ada2b1bc7a5bc0e5dc10f73e9029e3 /dev-libs/libgweather/files
parentDisabled tests when the msn flag is not there (diff)
downloadgentoo-2-81c004dc7f985a9f7a83392d6eef01e776375128.tar.gz
gentoo-2-81c004dc7f985a9f7a83392d6eef01e776375128.tar.bz2
gentoo-2-81c004dc7f985a9f7a83392d6eef01e776375128.zip
Fix bug #285595, automagic python support which caused compilation fail when pygtk was not installed
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libgweather/files')
-rw-r--r--dev-libs/libgweather/files/libgweather-2.26.2.1-automagic-python.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/libgweather/files/libgweather-2.26.2.1-automagic-python.patch b/dev-libs/libgweather/files/libgweather-2.26.2.1-automagic-python.patch
new file mode 100644
index 000000000000..77f2f94eb5cf
--- /dev/null
+++ b/dev-libs/libgweather/files/libgweather-2.26.2.1-automagic-python.patch
@@ -0,0 +1,24 @@
+From 03626e45436b0b9c345e0c07e4f488375639877a Mon Sep 17 00:00:00 2001
+From: Romain Perier <mrpouet@gentoo.org>
+Date: Sat, 19 Sep 2009 20:54:32 +0200
+Subject: [PATCH] Fix automagic python support when --disable-python is given on the command line
+
+---
+ configure.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index f363571..743fe9d 100644
+--- a/configure.in
++++ b/configure.in
+@@ -215,7 +215,7 @@ dnl ***************************************************************************
+ AC_ARG_ENABLE(python,
+ [AC_HELP_STRING([--enable-python],
+ [Build libgweather python bindings])],
+- [enable_python=yes],
++ [enable_python=$enableval],
+ [enable_python=no])
+ if test "$enable_python" = "yes"; then
+ AM_PATH_PYTHON()
+--
+1.6.5.rc1