summaryrefslogtreecommitdiff
path: root/recipes/glibmm/files/remove-examples.patch
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-01-26 21:37:13 +0000
committerGraeme Gregory <dp@xora.org.uk>2010-01-26 21:37:13 +0000
commit57e0965d94297295a4d9a55530d34b2ccf7f2b99 (patch)
tree46dc34803928b7f8b4e40b1e550ab3de40e4cc55 /recipes/glibmm/files/remove-examples.patch
parente6ca435a63a8a3bd16384cfb798617324af99a10 (diff)
glibmm_2.22.1.bb : fix/bandaid autoconf
I noticed when I changed libtool this package didnt pass configure as it had disabled OEs autoconf handling. This is because the examples/ directory has bad autoconf for it. So bandaided this to allow autoreconf to run correctly.
Diffstat (limited to 'recipes/glibmm/files/remove-examples.patch')
-rw-r--r--recipes/glibmm/files/remove-examples.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/glibmm/files/remove-examples.patch b/recipes/glibmm/files/remove-examples.patch
new file mode 100644
index 0000000000..a5944c2889
--- /dev/null
+++ b/recipes/glibmm/files/remove-examples.patch
@@ -0,0 +1,30 @@
+Index: glibmm-2.22.1/Makefile.am
+===================================================================
+--- glibmm-2.22.1.orig/Makefile.am
++++ glibmm-2.22.1/Makefile.am
+@@ -23,12 +23,7 @@ src_subdirs = glib/src gio/src
+ else
+ src_subdirs =
+ endif
+-if ENABLE_DOCUMENTATION
+-doc_subdirs = docs
+-else
+-doc_subdirs =
+-endif
+-SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs)
++SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests
+
+ glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME)
+ glibmm_include_HEADERS = glib/glibmm.h
+Index: glibmm-2.22.1/configure.ac
+===================================================================
+--- glibmm-2.22.1.orig/configure.ac
++++ glibmm-2.22.1/configure.ac
+@@ -136,7 +136,6 @@ AC_CONFIG_FILES([Makefile
+ gio/src/Makefile
+ gio/giomm/Makefile
+ tests/Makefile
+- examples/Makefile
+ docs/Makefile
+ docs/reference/Doxyfile
+ MSVC_Net2005/glibmm/glibmm.rc