Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10981 Details for
Bug 19751
tidy man ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
convert cp/sed to sed -i
man.patch (text/plain), 1.93 KB, created by
Mr. Bones. (RETIRED)
on 2003-04-22 02:02:33 UTC
(
hide
)
Description:
convert cp/sed to sed -i
Filename:
MIME Type:
Creator:
Mr. Bones. (RETIRED)
Created:
2003-04-22 02:02:33 UTC
Size:
1.93 KB
patch
obsolete
>--- man-1.5l-r2.ebuild.orig 2003-04-21 23:53:58.000000000 -0700 >+++ man-1.5l-r2.ebuild 2003-04-22 00:02:31.000000000 -0700 >@@ -12,10 +12,11 @@ > SRC_URI="http://www.kernel.org/pub/linux/utils/man/man-${NV}.tar.gz" > HOMEPAGE="http://freshmeat.net/projects/man/" > >-DEPEND="virtual/glibc" >+DEPEND="virtual/glibc >+ >=sed-4.0.5" > > RDEPEND="sys-apps/cronbase >- >=sys-apps/groff-1.18" >+ >=sys-apps/groff-1.18" > > SLOT="0" > KEYWORDS="x86 ppc sparc alpha hppa arm mips" >@@ -23,18 +24,16 @@ > > src_unpack() { > unpack ${A} >- >- cd ${S} >- cp configure configure.orig >- sed -e 's:/usr/lib/locale:$(prefix)/usr/lib/locale:g' \ >- -e 's!/usr/bin:/usr/ucb:!/usr/bin:!' \ >- configure.orig > configure >- >+ > cd ${S}/gencat >- cp Makefile Makefile.orig >- sed -e 's:cc -o:$(CC) -o:' Makefile.orig > Makefile >+ sed -i -e 's:cc -o:$(CC) -o:' Makefile || die "Makefile sed" > > cd ${S} >+ sed -i \ >+ -e 's:/usr/lib/locale:$(prefix)/usr/lib/locale:g' \ >+ -e 's!/usr/bin:/usr/ucb:!/usr/bin:!' \ >+ configure || die "configure sed" >+ > # Fix search order in man.conf so that system installed manpages > # will be found first ... > epatch ${FILESDIR}/${P}-search-order.patch >@@ -61,39 +60,36 @@ > > src_compile() { > local myconf= >- >+ > use nls && myconf="+lang all" > >- ./configure -confdir=/etc \ >- +sgid +fhs \ >- ${myconf} || die >- >- make || die >+ ./configure -confdir=/etc +sgid +fhs ${myconf} || die "configure" >+ >+ make || die "make" > } > > src_install() { > dodir /usr/{bin,sbin} > cd ${S} >- make PREFIX=${D} install || die >+ make PREFIX=${D} install || die "make install" > >- if [ -n "`use nls`" ] >- then >+ if [ -n "`use nls`" ] ; then > cd ${S}/msgs > ./inst.sh ?? ${D}/usr/share/locale/%L/%N > fi >- >+ > chmod 2555 ${D}/usr/bin/man > chown root.man ${D}/usr/bin/man > > # Needed for makewhatis > keepdir /var/cache/man >- >+ > insinto /etc > cd ${S} > doins src/man.conf >- >+ > dodoc COPYING LSM README* TODO >- >+ > exeinto /etc/cron.daily > doexe ${FILESDIR}/makewhatis.cron > }
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 19751
: 10981