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
Signed-off-by: David Michael <fedora.dm0@×××××.com>
---

Changes since v1:
  * Drop the dependency altogether

 eclass/fixheadtails.eclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass
index c19d33924aa..475b182843a 100644
--- a/eclass/fixheadtails.eclass
+++ b/eclass/fixheadtails.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: fixheadtails.eclass
@@ -8,8 +8,6 @@
 # Original author John Mylchreest <johnm@g.o>
 # @BLURB: functions to replace obsolete head/tail with POSIX compliant ones
 
-DEPEND=">=sys-apps/sed-4"
-
 _do_sed_fix() {
 	einfo " - fixed $1"
 	sed -i \
-- 
2.21.1

Replies

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