Skip to content

Commit

Permalink
sys-apps/nvme-cli: trim "/system" from SYSTEMDDIR
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/704406
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
floppym committed Dec 31, 2019
1 parent f52cfe1 commit f6ee380
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ src_prepare() {
src_configure() {
tc-export CC
export PREFIX="${EPREFIX}/usr"
export SYSTEMDDIR="$(systemd_get_systemunitdir)"
local unitdir="$(systemd_get_systemunitdir)"
export SYSTEMDDIR="${unitdir%/system}"
export UDEVDIR="${EPREFIX}$(get_udevdir)"
MAKEOPTS+=" LIBUUID=$(usex uuid 0 1)"
}

0 comments on commit f6ee380

Please sign in to comment.