Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsamplerate/files: libsamplerate-0.1.2-dontbuild-tests-examples.patch
Date: Fri, 22 Feb 2008 13:22:48
Message-Id: E1JSXrR-0003Re-Km@stork.gentoo.org
1 flameeyes 08/02/22 13:22:45
2
3 Added: libsamplerate-0.1.2-dontbuild-tests-examples.patch
4 Log:
5 Don't build tests and examples during standard make, this saves a few gcc/ld calls for most users.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 media-libs/libsamplerate/files/libsamplerate-0.1.2-dontbuild-tests-examples.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsamplerate/files/libsamplerate-0.1.2-dontbuild-tests-examples.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsamplerate/files/libsamplerate-0.1.2-dontbuild-tests-examples.patch?rev=1.1&content-type=text/plain
13
14 Index: libsamplerate-0.1.2-dontbuild-tests-examples.patch
15 ===================================================================
16 Index: libsamplerate-0.1.2/examples/Makefile.am
17 ===================================================================
18 --- libsamplerate-0.1.2.orig/examples/Makefile.am
19 +++ libsamplerate-0.1.2/examples/Makefile.am
20 @@ -3,7 +3,7 @@
21
22 bin_PROGRAMS = sndfile-resample
23
24 -noinst_PROGRAMS = varispeed-play
25 +EXTRA_PROGRAMS = varispeed-play
26
27 SAMPLERATEDIR =../src
28 INCLUDES = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@
29 Index: libsamplerate-0.1.2/tests/Makefile.am
30 ===================================================================
31 --- libsamplerate-0.1.2.orig/tests/Makefile.am
32 +++ libsamplerate-0.1.2/tests/Makefile.am
33 @@ -1,4 +1,4 @@
34 -noinst_PROGRAMS = misc_test termination_test simple_test callback_test \
35 +EXTRA_PROGRAMS = misc_test termination_test simple_test callback_test \
36 reset_test multi_channel_test snr_bw_test \
37 float_short_test src-evaluate benchmark
38
39 @@ -47,7 +47,7 @@ benchmark_LDADD = $(SAMPLRATEDIR)/libsa
40
41 #===============================================================================
42
43 -check: $(noinst_PROGRAMS)
44 +check: $(EXTRA_PROGRAMS)
45 date
46 uname -a
47 ./misc_test$(EXEEXT)
48
49
50
51 --
52 gentoo-commits@l.g.o mailing list