Skip to content

Commit

Permalink
games-roguelike/nethack: Depend on acct-group/gamestat.
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/689464
Acked-by: Luis Ressel <[email protected]>
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jul 16, 2019
1 parent 082297f commit a5ee35f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 4 additions & 5 deletions games-roguelike/nethack/nethack-3.6.0-r3.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand All @@ -35,8 +36,6 @@ NETHACK_GROUP="gamestat"

pkg_setup() {
HACKDIR="/usr/$(get_libdir)/${PN}"

enewgroup gamestat 36
}

src_prepare() {
Expand Down
7 changes: 3 additions & 4 deletions games-roguelike/nethack/nethack-3.6.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a5ee35f

Please sign in to comment.