summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-07-08 10:48:47 +0200
committerUlrich Müller <ulm@gentoo.org>2019-07-16 11:15:27 +0200
commita5ee35fc40cdacf5be0d25082c65806d24347861 (patch)
tree1a3dad6dc251106295feffde89b8255e634f7e56 /games-roguelike
parentdev-libs/libxmlb: Removed old. (diff)
downloadgentoo-a5ee35fc40cdacf5be0d25082c65806d24347861.tar.gz
gentoo-a5ee35fc40cdacf5be0d25082c65806d24347861.tar.bz2
gentoo-a5ee35fc40cdacf5be0d25082c65806d24347861.zip
games-roguelike/nethack: Depend on acct-group/gamestat.
Bug: https://bugs.gentoo.org/689464 Acked-by: Luis Ressel <aranea@aixah.de> Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/nethack/nethack-3.6.0-r3.ebuild9
-rw-r--r--games-roguelike/nethack/nethack-3.6.1.ebuild7
2 files changed, 7 insertions, 9 deletions
diff --git a/games-roguelike/nethack/nethack-3.6.0-r3.ebuild b/games-roguelike/nethack/nethack-3.6.0-r3.ebuild
index fa9302932cb1..834881ef5f28 100644
--- a/games-roguelike/nethack/nethack-3.6.0-r3.ebuild
+++ b/games-roguelike/nethack/nethack-3.6.0-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils toolchain-funcs flag-o-matic user
+inherit eutils toolchain-funcs flag-o-matic
MY_PV=${PV//.}
DESCRIPTION="The ultimate old-school single player dungeon exploration game"
@@ -14,7 +14,8 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~x86 ~x86-fbsd"
IUSE="experimental X"
-RDEPEND="sys-libs/ncurses:0=
+RDEPEND="acct-group/gamestat
+ sys-libs/ncurses:0=
X? (
x11-libs/libXaw
x11-libs/libXpm
@@ -35,8 +36,6 @@ NETHACK_GROUP="gamestat"
pkg_setup() {
HACKDIR="/usr/$(get_libdir)/${PN}"
-
- enewgroup gamestat 36
}
src_prepare() {
diff --git a/games-roguelike/nethack/nethack-3.6.1.ebuild b/games-roguelike/nethack/nethack-3.6.1.ebuild
index 783a9ec4f644..b2a450c706db 100644
--- a/games-roguelike/nethack/nethack-3.6.1.ebuild
+++ b/games-roguelike/nethack/nethack-3.6.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit desktop flag-o-matic toolchain-funcs user
+inherit desktop flag-o-matic toolchain-funcs
MY_PV=${PV//.}
DESCRIPTION="The ultimate old-school single player dungeon exploration game"
@@ -14,7 +14,8 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="X"
-RDEPEND="sys-libs/ncurses:0=
+RDEPEND="acct-group/gamestat
+ sys-libs/ncurses:0=
X? (
x11-libs/libXaw
x11-libs/libXpm
@@ -96,8 +97,6 @@ src_install() {
}
pkg_preinst() {
- enewgroup gamestat 36
-
fowners root:gamestat /var/games/nethack /var/games/nethack/save
fperms 2770 /var/games/nethack /var/games/nethack/save