From 7ccb65feb4e240ee1d35406042f0c644b5e1f73d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 28 Dec 2019 08:51:52 +0100 Subject: [PATCH] net-vpn/wireguard-tools: determine systemd unit directory properly Closes: https://bugs.gentoo.org/687110 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jason A. Donenfeld --- net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild | 3 ++- net-vpn/wireguard-tools/wireguard-tools-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild index 945b8b6e5056..4291be2ecbf6 100644 --- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild +++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit linux-info bash-completion-r1 +inherit linux-info bash-completion-r1 systemd DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)" HOMEPAGE="https://www.wireguard.com/" @@ -69,6 +69,7 @@ src_install() { WITH_WGQUICK=yes \ DESTDIR="${D}" \ BASHCOMPDIR="$(get_bashcompdir)" \ + SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \ PREFIX="${EPREFIX}/usr" \ -C src install } diff --git a/net-vpn/wireguard-tools/wireguard-tools-9999.ebuild b/net-vpn/wireguard-tools/wireguard-tools-9999.ebuild index 945b8b6e5056..4291be2ecbf6 100644 --- a/net-vpn/wireguard-tools/wireguard-tools-9999.ebuild +++ b/net-vpn/wireguard-tools/wireguard-tools-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit linux-info bash-completion-r1 +inherit linux-info bash-completion-r1 systemd DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)" HOMEPAGE="https://www.wireguard.com/" @@ -69,6 +69,7 @@ src_install() { WITH_WGQUICK=yes \ DESTDIR="${D}" \ BASHCOMPDIR="$(get_bashcompdir)" \ + SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \ PREFIX="${EPREFIX}/usr" \ -C src install } -- 2.26.2