summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2019-12-31 17:53:30 -0500
committerZac Medico <zmedico@gentoo.org>2019-12-31 15:03:30 -0800
commitf52cfe1d3cf67f43859a9944f4fcd5f4874f1ed2 (patch)
tree56be8c1cacaecea7cf9e58d3a10a72eb2ee4b6bb /sys-apps/nvme-cli
parentdev-lang/rust: fix QA_SONAME regex (diff)
downloadgentoo-f52cfe1d3cf67f43859a9944f4fcd5f4874f1ed2.tar.gz
gentoo-f52cfe1d3cf67f43859a9944f4fcd5f4874f1ed2.tar.bz2
gentoo-f52cfe1d3cf67f43859a9944f4fcd5f4874f1ed2.zip
sys-apps/nvme-cli: install systemd and udev files in the right place
Closes: https://bugs.gentoo.org/704406 Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24 Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r--sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild (renamed from sys-apps/nvme-cli/nvme-cli-1.9.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-apps/nvme-cli/nvme-cli-1.9.ebuild b/sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild
index 3be939cd58b7..885116b4ac70 100644
--- a/sys-apps/nvme-cli/nvme-cli-1.9.ebuild
+++ b/sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit toolchain-funcs
+inherit systemd toolchain-funcs udev
DESCRIPTION="NVM-Express user space tooling for Linux"
HOMEPAGE="https://github.com/linux-nvme/nvme-cli"
@@ -28,5 +28,7 @@ src_prepare() {
src_configure() {
tc-export CC
export PREFIX="${EPREFIX}/usr"
+ export SYSTEMDDIR="$(systemd_get_systemunitdir)"
+ export UDEVDIR="${EPREFIX}$(get_udevdir)"
MAKEOPTS+=" LIBUUID=$(usex uuid 0 1)"
}