From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Term-ReadLine-Gnu/
Date: Wed, 2 Jun 2021 20:04:12 +0000 (UTC) [thread overview]
Message-ID: <1622664238.75c69ab7fe8cf9f97891fe54e08f81cb7d61d5dc.sam@gentoo> (raw)
commit: 75c69ab7fe8cf9f97891fe54e08f81cb7d61d5dc
Author: Roman Beranek <roman.beranek <AT> prusa3d <DOT> com>
AuthorDate: Wed Jun 2 02:09:10 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 2 20:03:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c69ab7
dev-perl/Term-ReadLine-Gnu: DEPEND on ncurses
And prevent Term-ReadLine-Gnu-1.420.0 from trying to link to -ltermcap
when sys-libs/libtermcap-compat is installed.
Closes: https://bugs.gentoo.org/791691
Signed-off-by: Roman Beranek <roman.beranek <AT> prusa3d.com>
Closes: https://github.com/gentoo/gentoo/pull/21083
Signed-off-by: Sam James <sam <AT> gentoo.org>
...-1.360.0.ebuild => Term-ReadLine-Gnu-1.360.0-r1.ebuild} | 5 ++++-
...-1.420.0.ebuild => Term-ReadLine-Gnu-1.420.0-r1.ebuild} | 14 +++++++++++++-
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.360.0.ebuild b/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.360.0-r1.ebuild
similarity index 86%
rename from dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.360.0.ebuild
rename to dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.360.0-r1.ebuild
index f4c04f5412e..474a964cf34 100644
--- a/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.360.0.ebuild
+++ b/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.360.0-r1.ebuild
@@ -14,7 +14,10 @@ SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE=""
-RDEPEND=">=sys-libs/readline-6.2:0="
+RDEPEND="
+ >=sys-libs/readline-6.2:0=
+ sys-libs/ncurses:0=
+"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
diff --git a/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.420.0.ebuild b/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.420.0-r1.ebuild
similarity index 58%
rename from dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.420.0.ebuild
rename to dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.420.0-r1.ebuild
index 66ff4fa8295..e2e3785ea44 100644
--- a/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.420.0.ebuild
+++ b/dev-perl/Term-ReadLine-Gnu/Term-ReadLine-Gnu-1.420.0-r1.ebuild
@@ -14,7 +14,10 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
-RDEPEND=">=sys-libs/readline-6.2:0="
+RDEPEND="
+ >=sys-libs/readline-6.2:0=
+ sys-libs/ncurses:0=
+"
DEPEND="
${RDEPEND}
"
@@ -22,3 +25,12 @@ BDEPEND="
${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
+
+src_prepare() {
+ default
+ # search_termlib() selects termcap when sys-libs/libtermcap-compat is installed
+ # despite the absence of libtermcap.so symlink
+ sed -i -e \
+ "s/search_termlib()/search_lib('-ltinfo') || search_lib('-lncurses')/" \
+ Makefile.PL || die
+}
next reply other threads:[~2021-06-02 20:04 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 20:04 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-19 7:00 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Term-ReadLine-Gnu/ Arthur Zamarin
2023-08-19 6:18 Sam James
2023-08-19 6:07 Sam James
2023-08-19 5:58 Sam James
2023-08-02 16:03 Arthur Zamarin
2023-08-02 13:19 Sam James
2023-06-18 21:53 Sam James
2021-09-07 0:09 Sam James
2021-08-14 0:35 Andreas K. Hüttel
2021-08-06 3:43 Sam James
2021-08-02 2:22 Sam James
2021-08-01 7:40 Sam James
2021-07-26 7:29 Sam James
2021-05-23 13:48 Andreas K. Hüttel
2021-05-23 13:48 Andreas K. Hüttel
2021-05-23 13:48 Andreas K. Hüttel
2020-11-12 23:53 Thomas Deutschmann
2020-10-12 11:47 Agostino Sarubbo
2020-10-12 7:00 Agostino Sarubbo
2020-10-12 7:00 Agostino Sarubbo
2020-08-25 1:51 Sam James
2020-08-17 8:45 Fabian Groffen
2020-05-20 5:51 Georgy Yakovlev
2019-07-15 10:14 Lars Wendler
2019-01-29 12:26 Mikle Kolyada
2016-12-31 15:08 Andreas Hüttel
2016-06-06 14:53 Agostino Sarubbo
2016-05-18 22:19 Andreas Hüttel
2016-04-15 19:56 Andreas Hüttel
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=1622664238.75c69ab7fe8cf9f97891fe54e08f81cb7d61d5dc.sam@gentoo \
--to=sam@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