From: "Peter Alfredsen (loki_val)" <loki_val@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/a52dec/files: a52dec-0.7.4-tests-optional.patch
Date: Fri, 13 Jun 2008 14:06:17 +0000 [thread overview]
Message-ID: <E1K79uz-0003NQ-S5@stork.gentoo.org> (raw)
loki_val 08/06/13 14:06:17
Added: a52dec-0.7.4-tests-optional.patch
Log:
No longer build tests if we don't need them. Bug #226343.
(Portage version: 2.1.5.5)
Revision Changes Path
1.1 media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.1&content-type=text/plain
Index: a52dec-0.7.4-tests-optional.patch
===================================================================
diff -NrU5 a52dec-0.7.4.orig/configure.in a52dec-0.7.4/configure.in
--- a52dec-0.7.4.orig/configure.in 2008-06-13 15:48:43.000000000 +0200
+++ a52dec-0.7.4/configure.in 2008-06-13 15:46:23.000000000 +0200
@@ -106,10 +106,16 @@
elif test x"$TENDRA" = x"yes"; then
dnl TenDRA portability checking compiler
CFLAGS="$CFLAGS -DTenDRA_check"
fi
+dnl Build tests?
+AC_ARG_ENABLE(tests,
+ AS_HELP_STRING([--disable-tests], [Don't build tests during make]),,
+ enable_tests="yes")
+AM_CONDITIONAL(TESTS, [test "$enable_tests" = "yes"])
+
builtin([include],[src/configure.incl])
AC_C_ATTRIBUTE_ALIGNED
AC_OUTPUT
diff -NrU5 a52dec-0.7.4.orig/Makefile.am a52dec-0.7.4/Makefile.am
--- a52dec-0.7.4.orig/Makefile.am 2008-06-13 15:48:45.000000000 +0200
+++ a52dec-0.7.4/Makefile.am 2008-06-13 15:47:55.000000000 +0200
@@ -1,3 +1,7 @@
SUBDIRS = autotools include doc liba52 libao src vc++ test
+if TESTS
+SUBDIRS += test
+endif
+
EXTRA_DIST = HISTORY bootstrap
--
gentoo-commits@lists.gentoo.org mailing list
next reply other threads:[~2008-06-13 14:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 14:06 Peter Alfredsen (loki_val) [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-13 14:16 [gentoo-commits] gentoo-x86 commit in media-libs/a52dec/files: a52dec-0.7.4-tests-optional.patch Peter Alfredsen (loki_val)
2008-06-16 10:42 Diego Petteno (flameeyes)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1K79uz-0003NQ-S5@stork.gentoo.org \
--to=loki_val@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox