public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
Date: Mon, 26 Jul 2021 13:22:14 +0000 (UTC)	[thread overview]
Message-ID: <1627305726.1c306d7f093b372aca302cfaf7731e7d03eac0f2.soap@gentoo> (raw)

commit:     1c306d7f093b372aca302cfaf7731e7d03eac0f2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 26 13:22:06 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jul 26 13:22:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c306d7f

games-misc/bsd-games: Fix ncurses[unicode(+)] breakage

Closes: https://bugs.gentoo.org/803194
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../{bsd-games-3.1-r1.ebuild => bsd-games-3.1-r2.ebuild}       | 10 ++++------
 1 file 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
similarity index 95%
rename from games-misc/bsd-games/bsd-games-3.1-r1.ebuild
rename to games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 68e5a80674f..ba3c5f5dd7c 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/
 }


             reply	other threads:[~2021-07-26 13:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26 13:22 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-17 16:29 [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/ James Le Cuirot
2023-10-31 12:25 Sam James
2022-10-14  5:06 Arthur Zamarin
2022-09-22  4:09 Sam James
2022-06-27  9:29 Sam James
2022-05-28 15:06 Jakov Smolić
2022-05-28 15:06 Jakov Smolić
2022-04-30 12:23 Jakov Smolić
2022-02-15 18:31 Matt Turner
2022-01-24 19:19 Sam James
2021-11-19 11:33 Sam James
2021-11-19 11:33 Sam James
2021-07-12 22:11 Sam James
2021-05-28 22:43 James Le Cuirot
2021-04-10  0:32 Sam James
2021-04-04  9:16 Sam James
2021-04-04  9:16 Sam James
2021-04-04  9:16 Sam James
2021-04-04  9:16 Sam James
2021-04-04  8:14 Sam James
2019-11-02 17:15 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1627305726.1c306d7f093b372aca302cfaf7731e7d03eac0f2.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox