1 |
commit: c5494d9aaa01de17ce9a2c294e35c498e615ebd5 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 1 14:06:13 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 1 14:13:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5494d9a |
7 |
|
8 |
sys-apps/sed: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.27, Repoman-2.3.9 |
11 |
|
12 |
sys-apps/sed/sed-4.4.ebuild | 59 --------------------------------------------- |
13 |
1 file changed, 59 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/sed/sed-4.4.ebuild b/sys-apps/sed/sed-4.4.ebuild |
16 |
deleted file mode 100644 |
17 |
index 3bdb8e28ac2..00000000000 |
18 |
--- a/sys-apps/sed/sed-4.4.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,59 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="5" |
25 |
- |
26 |
-inherit eutils flag-o-matic toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="Super-useful stream editor" |
29 |
-HOMEPAGE="http://sed.sourceforge.net/" |
30 |
-SRC_URI="mirror://gnu/sed/${P}.tar.xz" |
31 |
- |
32 |
-LICENSE="GPL-3" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
35 |
-IUSE="acl nls selinux static" |
36 |
- |
37 |
-RDEPEND="acl? ( virtual/acl ) |
38 |
- nls? ( virtual/libintl ) |
39 |
- selinux? ( sys-libs/libselinux )" |
40 |
-DEPEND="${RDEPEND} |
41 |
- nls? ( sys-devel/gettext )" |
42 |
- |
43 |
-#PATCHES=( |
44 |
-#) |
45 |
- |
46 |
-src_bootstrap_sed() { |
47 |
- # make sure system-sed works #40786 |
48 |
- if ! type -p sed > /dev/null ; then |
49 |
- mkdir -p "${T}/bootstrap" |
50 |
- printf '#!/bin/sh\nexec busybox sed "$@"\n' > "${T}/bootstrap/sed" || die |
51 |
- chmod a+rx "${T}/bootstrap/sed" |
52 |
- PATH="${T}/bootstrap:${PATH}" |
53 |
- fi |
54 |
-} |
55 |
- |
56 |
-src_prepare() { |
57 |
- #epatch "${PATCHES[@]}" |
58 |
- |
59 |
- # don't use sed before bootstrap if we have to recover a broken host sed |
60 |
- src_bootstrap_sed |
61 |
-} |
62 |
- |
63 |
-src_configure() { |
64 |
- local myconf=() |
65 |
- if use userland_GNU; then |
66 |
- myconf+=( --exec-prefix="${EPREFIX}" ) |
67 |
- else |
68 |
- myconf+=( --program-prefix=g ) |
69 |
- fi |
70 |
- |
71 |
- export ac_cv_search_setfilecon=$(usex selinux -lselinux) |
72 |
- export ac_cv_header_selinux_{context,selinux}_h=$(usex selinux) |
73 |
- use static && append-ldflags -static |
74 |
- myconf+=( |
75 |
- $(use_enable acl) |
76 |
- $(use_enable nls) |
77 |
- ) |
78 |
- econf "${myconf[@]}" |
79 |
-} |