mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user