Gentoo Archives: gentoo-dev

From: Doug Goldstein <cardoe@g.o>
To: gentoo-dev@l.g.o, Joerg Bornkessel <hd_brummy@g.o>
Subject: Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 09 May 2016 23:10:31
Message-Id: e7f99b09-cc00-e389-583d-9275cda9f66b@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/ by "Michał Górny"
1 On 5/7/16 4:25 PM, Michał Górny wrote:
2 > On Sat, 7 May 2016 21:19:31 +0000 (UTC)
3 > "Joerg Bornkessel" <hd_brummy@g.o> wrote:
4 >
5 >> commit: 66afcab271f65b97330e610040ad3acc1b812a03
6 >> Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
7 >> AuthorDate: Sat May 7 21:18:48 2016 +0000
8 >> Commit: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
9 >> CommitDate: Sat May 7 21:18:48 2016 +0000
10 >> URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66afcab2
11 >>
12 >> fixed einstall vs. emake install for eapi=6
13 >>
14 >> eclass/vdr-plugin-2.eclass | 6 +++++-
15 >> 1 file changed, 5 insertions(+), 1 deletion(-)
16 >>
17 >> diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
18 >> index ae09a34..65f1409 100644
19 >> --- a/eclass/vdr-plugin-2.eclass
20 >> +++ b/eclass/vdr-plugin-2.eclass
21 >> @@ -571,7 +571,11 @@ vdr-plugin-2_src_install() {
22 >> local SOFILE_STRING=$(grep SOFILE Makefile)
23 >> if [[ -n ${SOFILE_STRING} ]]; then
24 >> BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-install }}
25 >> - einstall ${BUILD_PARAMS} \
26 >> + if [[ ${EAPI} == 6 ]]; then
27 >> + emake install ${BUILD_PARAMS} \
28 >> + else
29 >> + einstall ${BUILD_PARAMS} \
30 >> + fi
31 >> ${BUILD_TARGETS} \
32 >> TMPDIR="${T}" \
33 >> DESTDIR="${D}" \
34 >>
35 >
36 > Do you seriously expect this code to work? How about testing? Or
37 > reading diffs before committing?
38 >
39
40 Michal,
41
42 How about trying a different tone?
43
44 --
45 Doug Goldstein

Attachments

File name MIME type
signature.asc application/pgp-signature