sys-libs/glibc: Prefixify nscd init script
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Tue, 12 Sep 2017 19:45:05 +0000 (21:45 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Tue, 12 Sep 2017 19:46:04 +0000 (21:46 +0200)
Forward port of 69fe1365667ca61225f4265a45a10f0b38c251d4

Package-Manager: Portage-2.3.8, Repoman-2.3.3

sys-libs/glibc/glibc-2.26-r1.ebuild

index d7692868c3f24f76a339c8f1c6ab601d98af54bf..ffd880e2b6331ab3718965750523ba089fea1ce9 100644 (file)
@@ -702,7 +702,7 @@ glibc_do_src_install() {
        doins "${WORKDIR}"/extra/etc/*.conf
 
        if use nscd ; then
-               doinitd "${WORKDIR}"/extra/etc/nscd
+               doinitd "$(prefixify_ro "${WORKDIR}"/extra/etc/nscd)"
 
                local nscd_args=(
                        -e "s:@PIDFILE@:$(strings "${ED}"/usr/sbin/nscd | grep nscd.pid):"