1 |
commit: f52cfe1d3cf67f43859a9944f4fcd5f4874f1ed2 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 22:53:30 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 23:03:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52cfe1d |
7 |
|
8 |
sys-apps/nvme-cli: install systemd and udev files in the right place |
9 |
|
10 |
Closes: https://bugs.gentoo.org/704406 |
11 |
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24 |
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
sys-apps/nvme-cli/{nvme-cli-1.9.ebuild => nvme-cli-1.9-r1.ebuild} | 4 +++- |
16 |
1 file changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/sys-apps/nvme-cli/nvme-cli-1.9.ebuild b/sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild |
19 |
similarity index 83% |
20 |
rename from sys-apps/nvme-cli/nvme-cli-1.9.ebuild |
21 |
rename to sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild |
22 |
index 3be939cd58b..885116b4ac7 100644 |
23 |
--- a/sys-apps/nvme-cli/nvme-cli-1.9.ebuild |
24 |
+++ b/sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild |
25 |
@@ -3,7 +3,7 @@ |
26 |
|
27 |
EAPI=7 |
28 |
|
29 |
-inherit toolchain-funcs |
30 |
+inherit systemd toolchain-funcs udev |
31 |
|
32 |
DESCRIPTION="NVM-Express user space tooling for Linux" |
33 |
HOMEPAGE="https://github.com/linux-nvme/nvme-cli" |
34 |
@@ -28,5 +28,7 @@ src_prepare() { |
35 |
src_configure() { |
36 |
tc-export CC |
37 |
export PREFIX="${EPREFIX}/usr" |
38 |
+ export SYSTEMDDIR="$(systemd_get_systemunitdir)" |
39 |
+ export UDEVDIR="${EPREFIX}$(get_udevdir)" |
40 |
MAKEOPTS+=" LIBUUID=$(usex uuid 0 1)" |
41 |
} |