Gentoo Archives: gentoo-dev

From: David Michael <fedora.dm0@×××××.com>
To: gentoo-dev@l.g.o
Cc: base-system@g.o
Subject: [gentoo-dev] [PATCH v2] fixheadtails.eclass: drop the sed dependency
Date: Fri, 20 Mar 2020 21:12:52
Message-Id: 87d0963f3m.fsf@gmail.com
1 Signed-off-by: David Michael <fedora.dm0@×××××.com>
2 ---
3
4 Changes since v1:
5 * Drop the dependency altogether
6
7 eclass/fixheadtails.eclass | 4 +---
8 1 file changed, 1 insertion(+), 3 deletions(-)
9
10 diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass
11 index c19d33924aa..475b182843a 100644
12 --- a/eclass/fixheadtails.eclass
13 +++ b/eclass/fixheadtails.eclass
14 @@ -1,4 +1,4 @@
15 -# Copyright 1999-2014 Gentoo Foundation
16 +# Copyright 1999-2020 Gentoo Authors
17 # Distributed under the terms of the GNU General Public License v2
18
19 # @ECLASS: fixheadtails.eclass
20 @@ -8,8 +8,6 @@
21 # Original author John Mylchreest <johnm@g.o>
22 # @BLURB: functions to replace obsolete head/tail with POSIX compliant ones
23
24 -DEPEND=">=sys-apps/sed-4"
25 -
26 _do_sed_fix() {
27 einfo " - fixed $1"
28 sed -i \
29 --
30 2.21.1

Replies

Subject Author
[gentoo-dev] Re: [PATCH v2] fixheadtails.eclass: drop the sed dependency David Michael <fedora.dm0@×××××.com>