Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: x11-libs/libdrm/
Date: Mon, 28 Nov 2011 08:06:53
Message-Id: b37d6cc10d18903bd76e63c3e60d5009aadff22f.mgorny@gentoo
1 commit: b37d6cc10d18903bd76e63c3e60d5009aadff22f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 08:06:59 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 08:06:59 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=b37d6cc1
7
8 x11-libs/libdrm: Move tests sed into src_prepare().
9
10 (Portage version: 2.2.0_alpha78/git/Linux x86_64, signed Manifest commit with key 42B9401D)
11
12 ---
13 x11-libs/libdrm/libdrm-9999.ebuild | 10 +++++++---
14 1 files changed, 7 insertions(+), 3 deletions(-)
15
16 diff --git a/x11-libs/libdrm/libdrm-9999.ebuild b/x11-libs/libdrm/libdrm-9999.ebuild
17 index 2dd7700..a5053e8 100644
18 --- a/x11-libs/libdrm/libdrm-9999.ebuild
19 +++ b/x11-libs/libdrm/libdrm-9999.ebuild
20 @@ -34,9 +34,6 @@ PATCHES=(
21 )
22
23 pkg_setup() {
24 - # tests are restricted, no point in building them
25 - sed -ie 's/tests //' ${S}/Makefile.am
26 -
27 XORG_CONFIGURE_OPTIONS=(
28 --enable-udev
29 $(use_enable video_cards_intel intel)
30 @@ -48,3 +45,10 @@ pkg_setup() {
31
32 xorg-2_pkg_setup
33 }
34 +
35 +src_prepare() {
36 + # tests are restricted, no point in building them
37 + sed -ie 's/tests //' ${S}/Makefile.am
38 +
39 + xorg-2_src_prepare
40 +}