Gentoo Archives: gentoo-commits

From: Priit Laes <plaes@×××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: x11-libs/gtk+/
Date: Mon, 02 Dec 2013 15:30:25
Message-Id: 1385998380.d0cacec38283d5fb549b49ce7bc6f00f9e0e39a8.plaes@gentoo
1 commit: d0cacec38283d5fb549b49ce7bc6f00f9e0e39a8
2 Author: Priit Laes <plaes <AT> plaes <DOT> org>
3 AuthorDate: Mon Dec 2 15:33:00 2013 +0000
4 Commit: Priit Laes <plaes <AT> plaes <DOT> org>
5 CommitDate: Mon Dec 2 15:33:00 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d0cacec3
7
8 x11-libs/gtk+: Fix build with USE="-test"
9
10 ---
11 x11-libs/gtk+/gtk+-3.10.5.ebuild | 2 ++
12 x11-libs/gtk+/gtk+-9999.ebuild | 1 +
13 2 files changed, 3 insertions(+)
14
15 diff --git a/x11-libs/gtk+/gtk+-3.10.5.ebuild b/x11-libs/gtk+/gtk+-3.10.5.ebuild
16 index 03a21ed..af29e93 100644
17 --- a/x11-libs/gtk+/gtk+-3.10.5.ebuild
18 +++ b/x11-libs/gtk+/gtk+-3.10.5.ebuild
19 @@ -106,6 +106,8 @@ src_prepare() {
20
21 if ! use test ; then
22 # don't waste time building tests
23 + strip_builddir SRC_SUBDIRS testsuite Makefile.am
24 + strip_builddir SRC_SUBDIRS testsuite Makefile.in
25 strip_builddir SRC_SUBDIRS tests Makefile.am
26 strip_builddir SRC_SUBDIRS tests Makefile.in
27 fi
28
29 diff --git a/x11-libs/gtk+/gtk+-9999.ebuild b/x11-libs/gtk+/gtk+-9999.ebuild
30 index 3797f40..3a9d8de 100644
31 --- a/x11-libs/gtk+/gtk+-9999.ebuild
32 +++ b/x11-libs/gtk+/gtk+-9999.ebuild
33 @@ -121,6 +121,7 @@ src_prepare() {
34 if ! use test ; then
35 # don't waste time building tests
36 strip_builddir SRC_SUBDIRS tests Makefile.am
37 + [[ ${PV} != 9999 ]] && strip_builddir SRC_SUBDIRS testsuite Makefile.in
38 [[ ${PV} != 9999 ]] && strip_builddir SRC_SUBDIRS tests Makefile.in
39 fi