public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/zile/
Date: Wed,  7 Feb 2018 22:27:27 +0000 (UTC)	[thread overview]
Message-ID: <1518042338.c646da6efad8ea922cf6f47487c2907fd41cdaa5.ulm@gentoo> (raw)

commit:     c646da6efad8ea922cf6f47487c2907fd41cdaa5
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  7 22:11:15 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Feb  7 22:25:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c646da6e

app-editors/zile: Retrieve list of ncurses libs from pkg-config.

Fixes build failure with sys-apps/ncurses[tinfo].

Closes: https://bugs.gentoo.org/646916
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-editors/zile/zile-2.3.24-r2.ebuild | 6 +++++-
 app-editors/zile/zile-2.4.13.ebuild    | 6 +++++-
 app-editors/zile/zile-2.4.14.ebuild    | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/app-editors/zile/zile-2.3.24-r2.ebuild b/app-editors/zile/zile-2.3.24-r2.ebuild
index ff2a5d21a82..bc74d29787a 100644
--- a/app-editors/zile/zile-2.3.24-r2.ebuild
+++ b/app-editors/zile/zile-2.3.24-r2.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=6
 
+inherit toolchain-funcs
+
 DESCRIPTION="Zile is a small Emacs clone"
 HOMEPAGE="https://www.gnu.org/software/zile/"
 SRC_URI="mirror://gnu/zile/${P}.tar.gz"
@@ -14,6 +16,7 @@ IUSE="test valgrind"
 
 RDEPEND="sys-libs/ncurses:0="
 DEPEND="${RDEPEND}
+	virtual/pkgconfig
 	test? ( valgrind? ( dev-util/valgrind ) )"
 
 PATCHES=("${FILESDIR}"/${P}-{userhome,gets}.patch)
@@ -22,7 +25,8 @@ src_configure() {
 	# --without-emacs to suppress tests for GNU Emacs #630652
 	econf \
 		--without-emacs \
-		$(use test && use_with valgrind || echo "--without-valgrind")
+		$(use test && use_with valgrind || echo "--without-valgrind") \
+		CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
 }
 
 src_install() {

diff --git a/app-editors/zile/zile-2.4.13.ebuild b/app-editors/zile/zile-2.4.13.ebuild
index d7578b2406f..d6136b4f5a1 100644
--- a/app-editors/zile/zile-2.4.13.ebuild
+++ b/app-editors/zile/zile-2.4.13.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=6
 
+inherit toolchain-funcs
+
 DESCRIPTION="Zile is a small Emacs clone"
 HOMEPAGE="https://www.gnu.org/software/zile/"
 SRC_URI="mirror://gnu/zile/${P}.tar.gz"
@@ -17,6 +19,7 @@ RDEPEND=">=dev-libs/boehm-gc-7.2:=
 	acl? ( virtual/acl )"
 
 DEPEND="${RDEPEND}
+	virtual/pkgconfig
 	test? ( dev-lang/perl )"
 
 QA_AM_MAINTAINER_MODE=".*help2man.*" #450278
@@ -26,7 +29,8 @@ src_configure() {
 	econf \
 		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
 		--without-emacs \
-		$(use_enable acl)
+		$(use_enable acl) \
+		CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
 }
 
 src_install() {

diff --git a/app-editors/zile/zile-2.4.14.ebuild b/app-editors/zile/zile-2.4.14.ebuild
index 3754cfad686..3438a470a0a 100644
--- a/app-editors/zile/zile-2.4.14.ebuild
+++ b/app-editors/zile/zile-2.4.14.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=6
 
+inherit toolchain-funcs
+
 DESCRIPTION="Zile is a small Emacs clone"
 HOMEPAGE="https://www.gnu.org/software/zile/"
 SRC_URI="mirror://gnu/zile/${P}.tar.gz"
@@ -17,6 +19,7 @@ RDEPEND=">=dev-libs/boehm-gc-7.2:=
 	acl? ( virtual/acl )"
 
 DEPEND="${RDEPEND}
+	virtual/pkgconfig
 	test? ( dev-lang/perl )"
 
 QA_AM_MAINTAINER_MODE=".*help2man.*" #450278
@@ -27,7 +30,8 @@ src_configure() {
 		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
 		--without-emacs \
 		--disable-valgrind-tests \
-		$(use_enable acl)
+		$(use_enable acl) \
+		CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
 }
 
 src_install() {


             reply	other threads:[~2018-02-07 22:27 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-07 22:27 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-05 20:41 [gentoo-commits] repo/gentoo:master commit in: app-editors/zile/ Ulrich Müller
2023-01-01 14:48 David Seifert
2022-06-08  8:31 Yixun Lan
2022-04-14  8:11 Agostino Sarubbo
2022-04-02  7:46 Arthur Zamarin
2022-03-29  7:27 Agostino Sarubbo
2022-03-28  6:53 Agostino Sarubbo
2022-03-28  6:52 Agostino Sarubbo
2022-03-26 16:54 Arthur Zamarin
2022-03-22  8:27 Ulrich Müller
2022-03-21  9:18 Jakov Smolić
2022-03-19 19:21 Agostino Sarubbo
2022-03-19  7:56 Agostino Sarubbo
2022-03-19  7:53 Agostino Sarubbo
2022-03-18 18:09 Sam James
2022-02-20  9:35 Ulrich Müller
2022-02-14 15:59 Ulrich Müller
2021-02-15  8:44 Ulrich Müller
2021-02-15  1:49 Sam James
2021-02-14  2:10 Sam James
2021-02-07  1:07 Sam James
2021-02-04 14:09 Sam James
2021-02-04  8:12 Agostino Sarubbo
2021-02-04  8:00 Sam James
2021-01-06 13:03 Fabian Groffen
2021-01-02 14:02 Ulrich Müller
2019-09-13 21:24 Ulrich Müller
2019-09-13 18:13 Mikle Kolyada
2019-08-25 16:29 Aaron Bauman
2019-08-23 16:33 Agostino Sarubbo
2019-08-23 12:53 Agostino Sarubbo
2019-08-19 11:37 Agostino Sarubbo
2019-08-19  5:43 Agostino Sarubbo
2019-08-18 10:10 Sergei Trofimovich
2019-08-17 22:55 Ulrich Müller
2018-06-04 19:25 Mart Raudsepp
2018-04-01 15:54 Ulrich Müller
2018-04-01 14:22 Sergei Trofimovich
2018-03-28  5:05 Markus Meier
2018-03-04 17:07 Tobias Klausmann
2018-02-22  9:05 Agostino Sarubbo
2018-02-08 22:13 Sergei Trofimovich
2018-02-08 21:13 Ulrich Müller
2018-02-07  6:04 Thomas Deutschmann
2018-02-06 20:58 Ulrich Müller
2018-02-06 20:58 Ulrich Müller
2018-02-06 20:58 Ulrich Müller
2018-01-29 21:23 Ulrich Müller
2018-01-29 21:23 Ulrich Müller
2017-07-01  8:36 Ulrich Müller
2017-07-01  8:36 Ulrich Müller
2017-01-29 14:38 Fabian Groffen
2016-02-09 21:37 Ulrich Müller

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=1518042338.c646da6efad8ea922cf6f47487c2907fd41cdaa5.ulm@gentoo \
    --to=ulm@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