summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-11-27 18:28:18 +0100
committerPacho Ramos <pacho@gentoo.org>2017-11-27 18:28:46 +0100
commit524bcfcdbebcb7edbba54acbf9616f27bb916044 (patch)
tree8f6b5ce2978ca29e6d73bcfda3eb0d354a9ad3a1 /net-vpn/tinc/tinc-1.1_pre15.ebuild
parentnet-misc/stunnel: version bump to 5.44 (diff)
downloadgentoo-524bcfcdbebcb7edbba54acbf9616f27bb916044.tar.gz
gentoo-524bcfcdbebcb7edbba54acbf9616f27bb916044.tar.bz2
gentoo-524bcfcdbebcb7edbba54acbf9616f27bb916044.zip
net-vpn/tinc: Fix systemd units installation to not hardcode paths (#634650 by Mike Gilbert)
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'net-vpn/tinc/tinc-1.1_pre15.ebuild')
-rw-r--r--net-vpn/tinc/tinc-1.1_pre15.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-vpn/tinc/tinc-1.1_pre15.ebuild b/net-vpn/tinc/tinc-1.1_pre15.ebuild
index 72c60c83b61f..a1b29bd75463 100644
--- a/net-vpn/tinc/tinc-1.1_pre15.ebuild
+++ b/net-vpn/tinc/tinc-1.1_pre15.ebuild
@@ -8,7 +8,7 @@ MY_P=${PN}-${MY_PV}
PYTHON_COMPAT=( python2_7 )
-inherit eutils multilib python-single-r1
+inherit eutils multilib python-single-r1 systemd
DESCRIPTION="tinc is an easy to configure VPN implementation"
HOMEPAGE="http://www.tinc-vpn.org/"
@@ -64,7 +64,7 @@ src_configure() {
--disable-silent-rules \
--enable-legacy-protocol \
--disable-tunemu \
- --with-systemd=/usr/$(get_libdir)/systemd/system \
+ --with-systemd="$(systemd_get_systemunitdir)" \
$(use_enable lzo) \
$(use_enable ncurses curses) \
$(use_enable readline) \