diff options
author | Roy Marples <roy@marples.name> | 2007-12-28 15:48:36 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-28 15:48:36 +0000 |
commit | c47788594b0e594e3935e9dccd38bfd4818ba2bb (patch) | |
tree | 2b4e8e45b3daf73143912ebc6434fde34a4d7e10 /sys-apps/openrc | |
parent | The gen_usr_ldscript doesn't work for us as the .so and .so.1 aren't in the s... (diff) | |
download | uberlord-c47788594b0e594e3935e9dccd38bfd4818ba2bb.tar.gz uberlord-c47788594b0e594e3935e9dccd38bfd4818ba2bb.tar.bz2 uberlord-c47788594b0e594e3935e9dccd38bfd4818ba2bb.zip |
Fix symlinks and ldscript for libs
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r-- | sys-apps/openrc/openrc-0.1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/openrc/openrc-0.1.ebuild b/sys-apps/openrc/openrc-0.1.ebuild index c4e466b..ef11c9e 100644 --- a/sys-apps/openrc/openrc-0.1.ebuild +++ b/sys-apps/openrc/openrc-0.1.ebuild @@ -49,6 +49,13 @@ src_compile() { src_install() { emake $(make_opts) DESTDIR="${D}" install || die + # Fix portage bitching about libs and symlinks + rm "${D}"/usr/"${LIBDIR}"/libeinfo.so "${D}"/usr/"${LIBDIR}"/librc.so + ln -s libeinfo.so.1 "${D}"/"${LIBDIR}"/libeinfo.so + gen_usr_ldscript libeinfo.so + ln -s librc.so.1 "${D}"/"${LIBDIR}"/librc.so + gen_usr_ldscript librc.so + # Backup our default runlevels dodir /usr/share/"${PN}" mv "${D}/etc/runlevels" "${D}/usr/share/${PN}" |