Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opentmpfiles/
Date: Mon, 30 Apr 2018 13:52:47
Message-Id: 1525096337.744bd9bc87bda99a06e0e93513bef5cf0cf95b13.heroxbd@gentoo
1 commit: 744bd9bc87bda99a06e0e93513bef5cf0cf95b13
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 30 13:40:30 2018 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 30 13:52:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744bd9bc
7
8 sys-apps/opentmpfiles: apply 68549620 to -9999.
9
10 Suggested-By: Askar Bektassov
11 Bug: https://bugs.gentoo.org/644484
12
13 Package-Manager: Portage-2.3.28, Repoman-2.3.9
14
15 sys-apps/opentmpfiles/opentmpfiles-9999.ebuild | 8 +++++++-
16 1 file changed, 7 insertions(+), 1 deletion(-)
17
18 diff --git a/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild b/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild
19 index 1577a7364fc..cd2b8eff44b 100644
20 --- a/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild
21 +++ b/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild
22 @@ -2,6 +2,7 @@
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26 +inherit prefix
27
28 if [[ ${PV} = 9999* ]]; then
29 inherit git-r3
30 @@ -22,8 +23,13 @@ IUSE="selinux"
31 RDEPEND="!<sys-apps/openrc-0.23
32 selinux? ( sec-policy/selinux-base-policy )"
33
34 -src_install() {
35 +src_prepare() {
36 default
37 + hprefixify tmpfiles
38 +}
39 +src_install() {
40 + emake DESTDIR="${ED}" install
41 + einstalldocs
42 cd openrc
43 for f in opentmpfiles-dev opentmpfiles-setup; do
44 newconfd ${f}.confd ${f}