From f65faeaf80dabdc2cf5810ae66842095ba4b5069 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 20 Aug 2014 22:50:09 +0300 Subject: [PATCH] glib: dont build tests --- .../patches/glib-01-dont-build-tests.patch | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 packages/devel/glib/patches/glib-01-dont-build-tests.patch diff --git a/packages/devel/glib/patches/glib-01-dont-build-tests.patch b/packages/devel/glib/patches/glib-01-dont-build-tests.patch new file mode 100644 index 0000000000..49b59ac520 --- /dev/null +++ b/packages/devel/glib/patches/glib-01-dont-build-tests.patch @@ -0,0 +1,54 @@ +From 68cbd635036fe04cd07bbb1a4829eebab2d7dc03 Mon Sep 17 00:00:00 2001 +From: Stefan Saraev +Date: Wed, 20 Aug 2014 22:46:35 +0300 +Subject: [PATCH] dont build tests + +--- + Makefile.am | 2 +- + configure.ac | 17 ----------------- + 2 files changed, 1 insertions(+), 18 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 40e5cd5..db7bfc8 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -6,7 +6,7 @@ include $(top_srcdir)/glib.mk + + ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS} + +-SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs tests ++SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs + DIST_SUBDIRS = $(SUBDIRS) build + + bin_SCRIPTS = glib-gettextize +diff --git a/configure.ac b/configure.ac +index a01e58d..f310615 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2559,23 +2559,6 @@ dnl ****************************************************************** + + AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes) + +-AS_IF([ test $cross_compiling = yes ], [ +- AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no) +- if test x$GLIB_GENMARSHAL = xno; then +- AC_MSG_ERROR(Could not find a glib-genmarshal in your PATH) +- fi +- +- AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas, no) +- if test x$GLIB_COMPILE_SCHEMAS = xno; then +- AC_MSG_ERROR(Could not find a glib-compile-schemas in your PATH) +- fi +- +- AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources, no) +- if test x$GLIB_COMPILE_RESOURCES = xno; then +- AC_MSG_ERROR(Could not find a glib-compile-resources in your PATH) +- fi +-]) +- + dnl ************************** + dnl *** Checks for gtk-doc *** + dnl ************************** +-- +1.7.2.5 +