--- elogind-229.6.ebuild 2017-07-28 09:54:54.257489251 +0200 +++ elogind-229.7.ebuild 2017-07-27 18:04:36.139497154 +0200 @@ -59,6 +59,7 @@ --with-udevrulesdir="$(get_udevdir)"/rules.d \ --libdir="${EPREFIX}"/usr/$(get_libdir) \ --with-rootlibdir="${EPREFIX}"/$(get_libdir) \ + --with-rootlibexecdir="${EPREFIX}"/$(get_libdir)/libexec \ --enable-smack \ --disable-kdbus \ --disable-lto \ @@ -72,13 +74,15 @@ find "${D}" -name '*.la' -delete || die newinitd "${FILESDIR}"/${PN}.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} + + sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die + newconfd ${PN}.conf ${PN} } pkg_postinst() { - if [ "$(rc-config list default | grep elogind)" = "" ]; then + if [ "x$(rc-config list boot | grep elogind)" = "x" ]; then ewarn "To enable the elogind daemon, elogind must be" - ewarn "added to the default runlevel:" - ewarn "# rc-update add elogind default" + ewarn "added to the boot runlevel:" + ewarn "# rc-update add elogind boot" fi }