Comment 60 for bug 865158

Revision history for this message
In , Anderson-mr (anderson-mr) wrote :

(In reply to comment #35)
> Created attachment 280283 [details]
> ebuild for jabberd2-2.2.14
>
> Another "rm" in ebuild (/etc in /usr , strange).

sed -i \
        -e 's/^initdir = .*/initdir =/' \
        -e 's/^init_DATA = .*/init_DATA =/' etc/Makefile.in

in src_configure() can be used instead of

rm jabberd.cfg jabberd-{c2s,router,s2s,sm}.conf || die "rm failed"
rm -r "${D}/usr/etc" || die "rm2 failed"