sys-apps/opentmpfiles: apply 68549620 to -9999.
authorBenda Xu <heroxbd@gentoo.org>
Mon, 30 Apr 2018 13:40:30 +0000 (22:40 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 30 Apr 2018 13:52:17 +0000 (22:52 +0900)
Suggested-By: Askar Bektassov
Bug: https://bugs.gentoo.org/644484

Package-Manager: Portage-2.3.28, Repoman-2.3.9

sys-apps/opentmpfiles/opentmpfiles-9999.ebuild

index 1577a7364fc9ffac3d3f16da41f4399ad9ac3884..cd2b8eff44b1431e9b5e6bfc5ec69649af4a4390 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+inherit prefix
 
 if [[ ${PV} = 9999* ]]; then
        inherit git-r3
@@ -22,8 +23,13 @@ IUSE="selinux"
 RDEPEND="!<sys-apps/openrc-0.23
        selinux? ( sec-policy/selinux-base-policy )"
 
-src_install() {
+src_prepare() {
        default
+       hprefixify tmpfiles
+}
+src_install() {
+       emake DESTDIR="${ED}" install
+       einstalldocs
        cd openrc
        for f in opentmpfiles-dev opentmpfiles-setup; do
                newconfd ${f}.confd ${f}