1 |
vapier 09/06/29 21:33:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sed-4.2.1.ebuild |
5 |
Log: |
6 |
Version bump #275781 by Lars Wendler. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.94 sys-apps/sed/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sed/ChangeLog?rev=1.94&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sed/ChangeLog?rev=1.94&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sed/ChangeLog?r1=1.93&r2=1.94 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v |
19 |
retrieving revision 1.93 |
20 |
retrieving revision 1.94 |
21 |
diff -u -r1.93 -r1.94 |
22 |
--- ChangeLog 29 May 2009 19:41:36 -0000 1.93 |
23 |
+++ ChangeLog 29 Jun 2009 21:33:51 -0000 1.94 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-apps/sed |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.93 2009/05/29 19:41:36 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.94 2009/06/29 21:33:51 vapier Exp $ |
29 |
+ |
30 |
+*sed-4.2.1 (29 Jun 2009) |
31 |
+ |
32 |
+ 29 Jun 2009; Mike Frysinger <vapier@g.o> +sed-4.2.1.ebuild: |
33 |
+ Version bump #275781 by Lars Wendler. |
34 |
|
35 |
29 May 2009; Diego E. Pettenò <flameeyes@g.o> sed-4.2.ebuild: |
36 |
Replace sys-apps/acl dependency with virtual/acl, unbreaking |
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-apps/sed/sed-4.2.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sed/sed-4.2.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sed/sed-4.2.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: sed-4.2.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.2.1.ebuild,v 1.1 2009/06/29 21:33:51 vapier Exp $ |
50 |
|
51 |
inherit eutils flag-o-matic toolchain-funcs |
52 |
|
53 |
DESCRIPTION="Super-useful stream editor" |
54 |
HOMEPAGE="http://sed.sourceforge.net/" |
55 |
SRC_URI="mirror://gnu/sed/${P}.tar.bz2" |
56 |
|
57 |
LICENSE="GPL-3" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
60 |
IUSE="acl nls static" |
61 |
|
62 |
RDEPEND="nls? ( virtual/libintl ) |
63 |
acl? ( virtual/acl )" |
64 |
DEPEND="${RDEPEND} |
65 |
nls? ( sys-devel/gettext )" |
66 |
|
67 |
src_bootstrap_sed() { |
68 |
# make sure system-sed works #40786 |
69 |
export NO_SYS_SED="" |
70 |
if ! type -p sed > /dev/null ; then |
71 |
NO_SYS_SED="!!!" |
72 |
./bootstrap.sh || die "couldnt bootstrap" |
73 |
cp sed/sed "${T}"/ || die "couldnt copy" |
74 |
export PATH="${PATH}:${T}" |
75 |
make clean || die "couldnt clean" |
76 |
fi |
77 |
} |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${A} |
81 |
cd "${S}" |
82 |
epatch "${FILESDIR}"/${PN}-4.1.5-alloca.patch |
83 |
# don't use sed here if we have to recover a broken host sed |
84 |
} |
85 |
|
86 |
src_compile() { |
87 |
src_bootstrap_sed |
88 |
# this has to be after the bootstrap portion |
89 |
sed -i \ |
90 |
-e '/docdir =/s:=.*/doc:= $(datadir)/doc/'${PF}'/html:' \ |
91 |
doc/Makefile.in || die "sed html doc" |
92 |
|
93 |
local myconf= bindir=/bin |
94 |
if ! use userland_GNU ; then |
95 |
myconf="--program-prefix=g" |
96 |
bindir=/usr/bin |
97 |
fi |
98 |
|
99 |
use static && append-ldflags -static |
100 |
econf \ |
101 |
--bindir=${bindir} \ |
102 |
$(use_enable acl) \ |
103 |
$(use_enable nls) \ |
104 |
${myconf} |
105 |
emake || die "build failed" |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
emake install DESTDIR="${D}" || die "Install failed" |
110 |
dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog |
111 |
docinto examples |
112 |
dodoc "${FILESDIR}"/{dos2unix,unix2dos} |
113 |
} |