diff options
author | Craig Andrews <candrews@integralblue.com> | 2016-07-09 21:36:42 -0400 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-07-13 21:25:04 -0400 |
commit | 89608b1c031f38cf19a2bc21212b854eb33d431d (patch) | |
tree | d9fa2f77e9ba01cec1c9b220b6f438f2e268221e /app-admin | |
parent | app-admin/needrestart: correct the license to GPL-2+ (diff) | |
download | gentoo-89608b1c031f38cf19a2bc21212b854eb33d431d.tar.gz gentoo-89608b1c031f38cf19a2bc21212b854eb33d431d.tar.bz2 gentoo-89608b1c031f38cf19a2bc21212b854eb33d431d.zip |
app-admin/needrestart: fix dependencies
needrestart installs and uses scripts that call sed with '-z' option:
https://github.com/liske/needrestart/blob/1a3b68a38e0691ca82e894ef591b23af666cc14d/lib/notify.d.sh#L34
https://github.com/liske/needrestart/blob/1c17aa96ed455c6f10b496fa6a5c17daf96558ac/ex/notify.d/400-notify-send#L34
This option was introduced in sed-4.2.2: http://article.gmane.org/gmane.comp.lang.smalltalk.gnu.general/7873
Thus needrestart must depend on >=sys-apps/sed-4.2.2.
needrestart needs sys-devel/gettext to build so add that dependency.
needrestart depends on dev-perl/TermReadKey so add that runtime dependency.
needrestart does not depend on dev-perl/Term-ProgressBar-Simple so remove that dependency.
Gentoo-bug: 588416
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/needrestart/needrestart-2.8-r1.ebuild (renamed from app-admin/needrestart/needrestart-2.8.ebuild) | 5 | ||||
-rw-r--r-- | app-admin/needrestart/needrestart-9999.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/app-admin/needrestart/needrestart-2.8.ebuild b/app-admin/needrestart/needrestart-2.8-r1.ebuild index c4738beb88f6..5ac517696326 100644 --- a/app-admin/needrestart/needrestart-2.8.ebuild +++ b/app-admin/needrestart/needrestart-2.8-r1.ebuild @@ -21,13 +21,16 @@ SLOT="0" LICENSE="GPL-2+" RDEPEND=" + >=sys-apps/sed-4.2.2 + dev-perl/libintl-perl dev-perl/Module-Find dev-perl/Module-ScanDeps dev-perl/Proc-ProcessTable dev-perl/Sort-Naturally - dev-perl/Term-ProgressBar-Simple + dev-perl/TermReadKey " DEPEND="${RDEPEND} + sys-devel/gettext " PATCHES=( diff --git a/app-admin/needrestart/needrestart-9999.ebuild b/app-admin/needrestart/needrestart-9999.ebuild index 88d5483395c4..5cbd524d045e 100644 --- a/app-admin/needrestart/needrestart-9999.ebuild +++ b/app-admin/needrestart/needrestart-9999.ebuild @@ -21,13 +21,16 @@ SLOT="0" LICENSE="GPL-2+" RDEPEND=" + >=sys-apps/sed-4.2.2 + dev-perl/libintl-perl dev-perl/Module-Find dev-perl/Module-ScanDeps dev-perl/Proc-ProcessTable dev-perl/Sort-Naturally - dev-perl/Term-ProgressBar-Simple + dev-perl/TermReadKey " DEPEND="${RDEPEND} + sys-devel/gettext " src_install() { |