From d4531704beec58af1959aa973a561ba4518dbef3 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 28 Dec 2007 15:32:20 +0000 Subject: The gen_usr_ldscript doesn't work for us as the .so and .so.1 aren't in the same directories --- sys-apps/openrc/openrc-0.1.ebuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys-apps/openrc/openrc-0.1.ebuild b/sys-apps/openrc/openrc-0.1.ebuild index 452a6fd..c4e466b 100644 --- a/sys-apps/openrc/openrc-0.1.ebuild +++ b/sys-apps/openrc/openrc-0.1.ebuild @@ -49,9 +49,6 @@ src_compile() { src_install() { emake $(make_opts) DESTDIR="${D}" install || die - rm "${D}"usr/"${LIBDIR}"/libeinfo.so "${D}"usr/"${LIBDIR}"/librc.so - gen_usr_ldscript libeinfo.so librc.so - # Backup our default runlevels dodir /usr/share/"${PN}" mv "${D}/etc/runlevels" "${D}/usr/share/${PN}" @@ -75,8 +72,8 @@ pkg_preinst() { done fi - # Upgrade out state for baselayout-1 users - if [ ! -e "${ROOT}${LIBDIR}"/init.d/started ]; then + # Upgrade out state for baselayout-1 users + if [ ! -e "${ROOT}${LIBDIR}"/rc/init.d/started ]; then ( [ -e "${ROOT}"etc/conf.d/rc ] && . "${ROOT}etc/conf.d/rc" svcdir=${svcdir:-/var/lib/init.d} -- cgit v1.2.3-65-gdbad