summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2019-12-28 08:51:52 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2019-12-28 09:04:13 +0100
commit7ccb65feb4e240ee1d35406042f0c644b5e1f73d (patch)
treef68c6e52da88347bc4c1b9c6905463b8de1c1e34 /net-vpn/wireguard-tools
parentsys-process/glances: keyword 3.1.2 on ~ppc64 (diff)
downloadgentoo-7ccb65feb4e240ee1d35406042f0c644b5e1f73d.tar.gz
gentoo-7ccb65feb4e240ee1d35406042f0c644b5e1f73d.tar.bz2
gentoo-7ccb65feb4e240ee1d35406042f0c644b5e1f73d.zip
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 <zx2c4@gentoo.org>
Diffstat (limited to 'net-vpn/wireguard-tools')
-rw-r--r--net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild3
-rw-r--r--net-vpn/wireguard-tools/wireguard-tools-9999.ebuild3
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
}