diff options
Diffstat (limited to 'media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch')
-rw-r--r-- | media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch b/media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch new file mode 100644 index 000000000000..5c25dd588f2b --- /dev/null +++ b/media-libs/flac/files/flac-1.3.0-dontbuild-examples.patch @@ -0,0 +1,30 @@ +--- flac-1.3.0/configure.ac ++++ flac-1.3.0/configure.ac +@@ -319,6 +319,12 @@ + fi + AC_SUBST(OGG_PACKAGE) + ++dnl Build examples? ++AC_ARG_ENABLE(examples, ++ AS_HELP_STRING([--disable-examples], [Don't build examples during make]),, ++ enable_examples="yes") ++AM_CONDITIONAL(EXAMPLES, [test "$enable_examples" = "yes"]) ++ + dnl check for i18n(internationalization); these are from libiconv/gettext + AM_ICONV + AM_LANGINFO_CODESET +--- flac-1.3.0/Makefile.am ++++ flac-1.3.0/Makefile.am +@@ -31,7 +31,11 @@ + + ACLOCAL_AMFLAGS = -I m4 + +-SUBDIRS = doc include m4 man src examples test build objs ++SUBDIRS = doc include m4 man src test build objs ++ ++if EXAMPLES ++SUBDIRS += examples ++endif + + EXTRA_DIST = \ + COPYING.FDL \ |