Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36057 Details for
Bug 58161
libtool-1.5.2-r5 patches need to be ported to 1.5.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fam-2.7.0-r1.ebuild.patch
fam-2.7.0-r1.ebuild.patch (text/plain), 3.39 KB, created by
Stefan Briesenick (RETIRED)
on 2004-07-24 05:51:17 UTC
(
hide
)
Description:
fam-2.7.0-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Stefan Briesenick (RETIRED)
Created:
2004-07-24 05:51:17 UTC
Size:
3.39 KB
patch
obsolete
>--- /usr/portage/app-admin/fam/fam-2.7.0-r1.ebuild 2004-06-24 23:35:17.000000000 +0200 >+++ fam-2.7.0-r1.ebuild 2004-07-24 14:42:12.000000000 +0200 >@@ -2,7 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-admin/fam/fam-2.7.0-r1.ebuild,v 1.7 2004/06/24 21:25:22 agriffis Exp $ > >-inherit libtool eutils gnuconfig >+IUSE="static pic" >+ >+inherit libtool eutils gnuconfig 64-bit > > DESCRIPTION="FAM, the File Alteration Monitor" > HOMEPAGE="http://oss.sgi.com/projects/fam/" >@@ -11,63 +13,76 @@ > LICENSE="GPL-2 LGPL-2.1" > SLOT="0" > KEYWORDS="~x86 ~ppc ~alpha ~sparc hppa amd64 ~ia64 ~mips ppc64" >-IUSE="" > > DEPEND=">=net-nds/portmap-5b-r6" > > src_unpack() { >- unpack ${A} >+ unpack "${A}" >+ cd "${S}" >+ >+ # patch some config defaults >+ sed -i "s/^local_only.*$/local_only = true/g" conf/fam.conf > >- cd ${S} > # dnotify patch #43027 > epatch ${FILESDIR}/${P}-dnotify.patch > > # Fix permission problems with user* in FEATURES (#35307) >- chmod u+w ${S}/configure >+ chmod u+w "${S}/configure" > > # Please do not remove this again - fixes $S and $D in libtool linker > # scripts (.la files) >- cd ${S}; elibtoolize >+ cd "${S}" >+ cp /usr/share/libtool/ltmain.sh . # FIXME: dirty hack! >+ elibtoolize > } > > src_compile() { >+ local myconf=`use_enable static` >+ >+ if 64-bit; then >+ myconf="${myconf} --with-pic" >+ else >+ myconf="${myconf} `use_with pic`" >+ fi >+ > gnuconfig_update >- econf || die "econf failed" >+ econf $myconf || die "econf failed" > emake || die "emake failed" > } > > src_install() { > einstall || die > >- dosed "s:local_only = false:local_only = true:g" conf/fam.conf >- > exeinto /etc/init.d >- doexe ${FILESDIR}/famd >+ doexe "${FILESDIR}/famd" > >- dodoc AUTHORS ChangeLog INSTALL NEWS TODO README >+ dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO > } > > pkg_postinst() { >- einfo "To enable fam on boot you will have to add it to the" >+ einfo "To enable fam on boot you will have to add it to the" > einfo "default profile, issue the following command as root to do so." > echo > einfo "rc-update add famd default" > > # temporary warning for people upgrading > # 6-12-03 foser <foser@gentoo.org> >- echo >- echo >- ewarn "IMPORTANT INFO FOR USERS UPGRADING FROM OLDER (<2.7.0) FAM VERSIONS :" >- echo >- einfo "With the 2.7.0 version the fam daemon moved to sbin and was" >- einfo "renamed from 'fam' to 'famd'. These changes are for consistency" >- einfo "reasons also applied to the Gentoo init script. This means you" >- einfo "will have to remove fam from the default runlevel and add famd." >- einfo "This can be done by issueing the following commands :" >- echo >- einfo "rc-update del fam" >- einfo "rc-update add famd default" >- einfo "rm /etc/init.d/fam" >- echo >- einfo "The last command removes the old init script." >+ if [ -e /etc/init.d/fam ] >+ then >+ echo >+ echo >+ ewarn "IMPORTANT INFO FOR USERS UPGRADING FROM OLDER (<2.7.0) FAM VERSIONS :" >+ echo >+ einfo "With the 2.7.0 version the fam daemon moved to sbin and was" >+ einfo "renamed from 'fam' to 'famd'. These changes are for consistency" >+ einfo "reasons also applied to the Gentoo init script. This means you" >+ einfo "will have to remove fam from the default runlevel and add famd." >+ einfo "This can be done by issueing the following commands :" >+ echo >+ einfo "rc-update del fam" >+ einfo "rc-update add famd default" >+ einfo "rm /etc/init.d/fam" >+ echo >+ einfo "The last command removes the old init script." >+ fi > }
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 58161
:
36052
|
36056
|
36057