Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434926 Details for
Bug 583732
sys-apps/sed: bump to EAPI=5 and support Prefix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sed-4.2.2.patch
sed.patch (text/plain), 1.47 KB, created by
Benda Xu
on 2016-05-22 01:14:10 UTC
(
hide
)
Description:
sed-4.2.2.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2016-05-22 01:14:10 UTC
Size:
1.47 KB
patch
obsolete
>Author: Benda Xu <heroxbd@gentoo.org> >Date: Sun May 22 10:10:03 2016 +0900 > > sys-apps/sed: bump to EAPI=5 and support Prefix. > >--- a/sys-apps/sed/sed-4.2.2.ebuild >+++ b/sys-apps/sed/sed-4.2.2.ebuild >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > >+EAPI=5 >+ > inherit eutils flag-o-matic toolchain-funcs > > DESCRIPTION="Super-useful stream editor" >@@ -31,24 +33,23 @@ src_bootstrap_sed() { > fi > } > >-src_unpack() { >- unpack ${A} >- cd "${S}" >+src_prepare() { > epatch "${FILESDIR}"/${PN}-4.1.5-alloca.patch > # don't use sed here if we have to recover a broken host sed > } > >-src_compile() { >+src_configure() { > src_bootstrap_sed > # this has to be after the bootstrap portion > sed -i \ > -e '/docdir =/s:=.*/doc:= $(datadir)/doc/'${PF}'/html:' \ > doc/Makefile.in || die "sed html doc" > >- local myconf= bindir=/bin >- if ! use userland_GNU ; then >+ local myconf= >+ if use userland_GNU; then >+ myconf="--exec-prefix=${EPREFIX}" >+ else > myconf="--program-prefix=g" >- bindir=/usr/bin > fi > > # Should be able to drop this hack in next release. #333887 >@@ -57,14 +58,7 @@ src_compile() { > export ac_cv_header_selinux_{context,selinux}_h=$(usex selinux) > use static && append-ldflags -static > econf \ >- --bindir=${bindir} \ > $(use_enable acl) \ > $(use_enable nls) \ > ${myconf} >- emake || die "build failed" >-} >- >-src_install() { >- emake install DESTDIR="${D}" || die "Install failed" >- dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 583732
:
434926
|
434928
|
434930
|
434932
|
437032