From 29b4f7a0c29f41c865d969c1e9cf7a14aeb71332 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 12 Jul 2010 19:49:24 +0000 Subject: [PATCH] [packages] flac: Disable building of docs and examples SVN-Revision: 22155 --- .../patches/001-no-docs-and-examples.patch | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 libs/flac/patches/001-no-docs-and-examples.patch diff --git a/libs/flac/patches/001-no-docs-and-examples.patch b/libs/flac/patches/001-no-docs-and-examples.patch new file mode 100644 index 0000000000..99c5afebcb --- /dev/null +++ b/libs/flac/patches/001-no-docs-and-examples.patch @@ -0,0 +1,81 @@ +diff --git a/Makefile.am b/Makefile.am +index 5627bb5..16b77ee 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -30,7 +30,7 @@ + + AUTOMAKE_OPTIONS = foreign 1.7 + +-SUBDIRS = doc include m4 man src examples test build obj ++SUBDIRS = include m4 src build obj + + DISTCLEANFILES = libtool-disable-static + +diff --git a/Makefile.in b/Makefile.in +index 4dafa35..d3b15ed 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -234,7 +234,7 @@ target_alias = @target_alias@ + + AUTOMAKE_OPTIONS = foreign 1.7 + +-SUBDIRS = doc include m4 man src examples test build obj ++SUBDIRS = include m4 src build obj + + DISTCLEANFILES = libtool-disable-static + +diff --git a/src/Makefile.am b/src/Makefile.am +index 131383e..dce00b6 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -30,12 +30,6 @@ SUBDIRS = \ + metaflac \ + monkeys_audio_utilities \ + $(XMMS_DIRS) \ +- plugin_winamp2 \ +- test_grabbag \ +- test_libs_common \ +- test_libFLAC \ +- test_seeking \ +- test_streams \ + $(CPPLIBS_DIRS) + + EXTRA_DIST = \ +diff --git a/src/Makefile.in b/src/Makefile.in +index 14ac891..9c9bcd6 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -221,7 +221,7 @@ target_alias = @target_alias@ + + @FLaC__HAS_XMMS_TRUE@XMMS_DIRS = plugin_common plugin_xmms + +-@FLaC__WITH_CPPLIBS_TRUE@CPPLIBS_DIRS = libFLAC++ test_libFLAC++ ++@FLaC__WITH_CPPLIBS_TRUE@CPPLIBS_DIRS = libFLAC++ + + SUBDIRS = \ + libFLAC \ +@@ -230,12 +230,6 @@ SUBDIRS = \ + metaflac \ + monkeys_audio_utilities \ + $(XMMS_DIRS) \ +- plugin_winamp2 \ +- test_grabbag \ +- test_libs_common \ +- test_libFLAC \ +- test_seeking \ +- test_streams \ + $(CPPLIBS_DIRS) + + +@@ -256,9 +250,8 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ + check-recursive installcheck-recursive + DIST_COMMON = $(srcdir)/Makefile.in Makefile.am + DIST_SUBDIRS = libFLAC share flac metaflac monkeys_audio_utilities \ +- plugin_common plugin_xmms plugin_winamp2 test_grabbag \ +- test_libs_common test_libFLAC test_seeking test_streams \ +- libFLAC++ test_libFLAC++ ++ plugin_common plugin_xmms plugin_winamp2 \ ++ libFLAC++ + all: all-recursive + + .SUFFIXES: -- 2.30.2