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() {
