Created attachment 337664 [details] slim-1.3.5.ebuild x11-misc/slim-1.3.5 installs slim.service file in /usr/usr/lib/systemd/system/ I've patched slim ebuild. Just replaced usr/lib/systemd/system with $(get_libdir)/systemd/system by sed in CMakeLists.txt Works fine.
Comment on attachment 337664 [details] slim-1.3.5.ebuild --- slim-1.3.5.ebuild 2012-12-31 19:09:51.000000000 +0100 +++ - 2013-02-02 17:38:17.900911900 +0100 @@ -36,6 +36,8 @@ # Our Gentoo-specific config changes epatch "${FILESDIR}"/${PN}-1.3.4-config.diff epatch "${FILESDIR}"/${P}-arm.patch + sed -i -s "s:usr/lib/systemd/system:$(get_libdir)/systemd/system:" \ + CMakeLists.txt || die if use elibc_FreeBSD; then sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \
Generally good, except that the path should always be /usr/lib/systemd/system (ie, it shouldn't ever be /usr/lib32 or /usr/lib64). Will adjust and commit a revbump. Thanks for reporting!
06 Feb 2013; Ian Stakenvicius <axs@gentoo.org> -slim-1.3.5.ebuild, +slim-1.3.5-r1.ebuild, +files/slim-1.3.5-systemd-service.patch: fix install path of slim.service file, bug 455116