diff options
author | Brandon Low <lostlogic@gentoo.org> | 2002-11-05 21:17:25 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2002-11-05 21:17:25 +0000 |
commit | 77269ad17d60fd962a01e5b629d819971ac74c06 (patch) | |
tree | d3109a2d6b4fa9da8dbd449a0cc609ebdac12816 /net-fs | |
parent | typo fix (diff) | |
download | gentoo-2-77269ad17d60fd962a01e5b629d819971ac74c06.tar.gz gentoo-2-77269ad17d60fd962a01e5b629d819971ac74c06.tar.bz2 gentoo-2-77269ad17d60fd962a01e5b629d819971ac74c06.zip |
Make work with the stable profile. Change the postinst and prerm stuff.
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/coda-client/coda-client-5.3.19.ebuild | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/net-fs/coda-client/coda-client-5.3.19.ebuild b/net-fs/coda-client/coda-client-5.3.19.ebuild index 17efa178eb6c..20a3f196a1b0 100644 --- a/net-fs/coda-client/coda-client-5.3.19.ebuild +++ b/net-fs/coda-client/coda-client-5.3.19.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/coda-client/coda-client-5.3.19.ebuild,v 1.2 2002/10/24 20:52:19 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/coda-client/coda-client-5.3.19.ebuild,v 1.3 2002/11/05 21:17:25 lostlogic Exp $ IUSE="" PN="coda" @@ -39,15 +39,18 @@ src_unpack() { } src_compile() { - OCFLAGS="${CFLAGS}" - CFLAGS="${CFLAGS} -lpthread" +# Uncomment for db4 compatibility +# OCFLAGS="${CFLAGS}" +# CFLAGS="${CFLAGS} -lpthread" + econf || die "configure failed" - mv Makeconf.setup Makeconf.setup.orig - sed -e "s:-lpthread::;s:-ldb:-ldb -lpthread:" \ - Makeconf.setup.orig > Makeconf.setup +# Uncomment for db4 compatibility +# mv Makeconf.setup Makeconf.setup.orig +# sed -e "s:-lpthread::;s:-ldb:-ldb -lpthread:" \ +# Makeconf.setup.orig > Makeconf.setup +# CFLAGS="${OCFLAGS}" - CFLAGS="${OCFLAGS}" MAKEOPTS="-j1" emake || die "emake failed" } @@ -68,14 +71,14 @@ src_install () { } pkg_postinst () { - rc-update add venus.init default +# rc-update add venus.init default einfo - einfo "I have already done:" - einfo " rc-update add venus.init default" + einfo "To enable the coda-client at boot up, please do:" + einfo " rc-update venus.init default" einfo } -pkg_prerm () { - /etc/init.d/venus.init stop || /etc/init.d/venus.init hardstop - rc-update del venus.init default -} +#pkg_prerm () { +# /etc/init.d/venus.init stop || /etc/init.d/venus.init hardstop +# rc-update del venus.init default +#} |