summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-01-08 23:27:33 +0100
committerDavid Seifert <soap@gentoo.org>2020-01-08 23:27:33 +0100
commit7989f72ca0d31224d50b740cab5f7b14486f8fac (patch)
tree4393c608afd1c17ad6917085bf816c61a2814b34 /sys-power
parentsys-power/nut: Remove old (diff)
downloadgentoo-7989f72ca0d31224d50b740cab5f7b14486f8fac.tar.gz
gentoo-7989f72ca0d31224d50b740cab5f7b14486f8fac.tar.bz2
gentoo-7989f72ca0d31224d50b740cab5f7b14486f8fac.zip
sys-power/nut: Fix dosym on usrmerge systems
Closes: https://bugs.gentoo.org/680980 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/nut/nut-2.7.4-r3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-power/nut/nut-2.7.4-r3.ebuild b/sys-power/nut/nut-2.7.4-r3.ebuild
index 245adf5452f6..d1182c5e062a 100644
--- a/sys-power/nut/nut-2.7.4-r3.ebuild
+++ b/sys-power/nut/nut-2.7.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ppc ppc64 x86"
-IUSE="cgi gui ipmi snmp +usb selinux ssl tcpd xml zeroconf"
+IUSE="cgi gui ipmi snmp +usb selinux split-usr ssl tcpd xml zeroconf"
REQUIRED_USE="gui? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
@@ -169,7 +169,7 @@ src_install() {
find "${D}" -name '*.la' -delete || die
dodir /sbin
- dosym ../usr/sbin/upsdrvctl /sbin/upsdrvctl
+ use split-usr && dosym ../usr/sbin/upsdrvctl /sbin/upsdrvctl
if use cgi; then
elog "CGI monitoring scripts are installed in /usr/share/nut/cgi."