Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/fatsort/
Date: Fri, 11 Jun 2021 00:29:28
Message-Id: 1623371346.bb2d81dcf17742dc0642113bd47e3e2129dcb19d.sam@gentoo
1 commit: bb2d81dcf17742dc0642113bd47e3e2129dcb19d
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 11 00:08:13 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 11 00:29:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb2d81dc
7
8 sys-fs/fatsort: fix VariableScope (D) in src_compile
9
10 Not defined, but looks like we can drop it safely without any
11 further workarounds.
12
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 sys-fs/fatsort/fatsort-1.6.3.622.ebuild | 9 +++++----
16 1 file changed, 5 insertions(+), 4 deletions(-)
17
18 diff --git a/sys-fs/fatsort/fatsort-1.6.3.622.ebuild b/sys-fs/fatsort/fatsort-1.6.3.622.ebuild
19 index f04b31692aa..c843233d12b 100644
20 --- a/sys-fs/fatsort/fatsort-1.6.3.622.ebuild
21 +++ b/sys-fs/fatsort/fatsort-1.6.3.622.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28 @@ -17,13 +17,14 @@ src_prepare() {
29 default
30
31 sed -i -e 's|/usr/local|/usr|g' \
32 - $(find ./ -name Makefile) || die
33 + $(find ./ -name Makefile || die) || die
34 }
35
36 src_compile() {
37 - emake CC=$(tc-getCC) LD=$(tc-getCC) \
38 + emake \
39 + CC=$(tc-getCC) LD=$(tc-getCC) \
40 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
41 - DESTDIR="${D}" man
42 + man
43 }
44
45 src_test() {