Hello,
I have attached a small patch for the wrappers to fix compatibility with
openrc.
--
Ahmed Ammar (b33fc0d3 [at] gentoo.org)
--- crossdev-wrappers-20080622.ebuild.orig 2008-06-22 23:21:58.000000000 +0300
+++ crossdev-wrappers-20080622.ebuild 2008-08-04 09:25:00.000000000 +0300
@@ -20,6 +20,10 @@
src_unpack() {
unpack ${A}
cd "${S}"
+
+ if has_version 'sys-apps/openrc' ; then
+ epatch "$FILESDIR"/${PN}-openrc-fix.patch
+ fi
}
src_compile() {
--- /var/tmp/portage/sys-devel/crossdev-wrappers-20080622/work/crossdev-wrappers/cross-fix-root 2008-06-19 07:56:02.000000000 +0300
+++ /usr/bin/cross-fix-root 2008-08-04 09:18:17.000000000 +0300
@@ -45,4 +45,4 @@
fix_pc_files ${CROSS_ROOT}
pc_count=$?
:
-( . /sbin/functions.sh ; einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" )
+( . /lib/rc/sh/functions.sh ; /lib/rc/bin/einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" )