summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-07-26 15:22:06 +0200
committerDavid Seifert <soap@gentoo.org>2021-07-26 15:22:06 +0200
commit1c306d7f093b372aca302cfaf7731e7d03eac0f2 (patch)
treec045679821b0285eacfb3cb6538d67acba28058d /games-misc/bsd-games
parentnet-im/zoom: Remove old (diff)
downloadgentoo-1c306d7f093b372aca302cfaf7731e7d03eac0f2.tar.gz
gentoo-1c306d7f093b372aca302cfaf7731e7d03eac0f2.tar.bz2
gentoo-1c306d7f093b372aca302cfaf7731e7d03eac0f2.zip
games-misc/bsd-games: Fix ncurses[unicode(+)] breakage
Closes: https://bugs.gentoo.org/803194 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-misc/bsd-games')
-rw-r--r--games-misc/bsd-games/bsd-games-3.1-r2.ebuild (renamed from games-misc/bsd-games/bsd-games-3.1-r1.ebuild)10
1 files changed, 4 insertions, 6 deletions
diff --git a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 68e5a80674f7..ba3c5f5dd7c4 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -22,7 +22,7 @@ RESTRICT="test"
DEPEND="
sys-apps/miscfiles
- sys-libs/ncurses:=
+ sys-libs/ncurses:=[unicode(+)]
!games-puzzle/hangman
!games-misc/wumpus
"
@@ -60,10 +60,8 @@ src_prepare() {
# Yes, this stinks.
# Right now, the custom configure script calls pkg-config manually
# and seds it a bunch, and this is easier.
- if has_version sys-libs/ncurses[unicode] ; then
- # Force looking for both ncurses and ncursesw
- sed -i -e 's/pkgs="ncurses"/pkgs="ncursesw"/' configure || die
- fi
+ # Force looking for both ncurses and ncursesw
+ sed -i -e 's/pkgs="ncurses"/pkgs="ncursesw"/' configure || die
cp "${FILESDIR}"/config.params-gentoo config.params || die
echo bsd_games_cfg_usrlibdir=\"$(get_libdir)\" >> ./config.params || die
@@ -151,5 +149,5 @@ src_install() {
fowners -R :gamestat /usr/bin/
# State dirs
- chmod -R ug+rw "${ED}"/var/games/ || die
+ fperms -R ug+rw /var/games/
}