public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdw/
Date: Sun,  2 Dec 2018 14:55:47 +0000 (UTC)	[thread overview]
Message-ID: <1543762540.ac121538f7d68721ca7ee4159a6c3647ba8565ea.jer@gentoo> (raw)

commit:     ac121538f7d68721ca7ee4159a6c3647ba8565ea
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  2 14:45:23 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Dec  2 14:55:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac121538

app-cdr/cdw: Fix building against sys-libs/ncurses[tinfo]

Fixes: https://bugs.gentoo.org/672394
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 app-cdr/cdw/cdw-0.8.0.ebuild | 25 ++++++++++++++++---------
 app-cdr/cdw/cdw-9999.ebuild  | 24 ++++++++++++++++--------
 2 files changed, 32 insertions(+), 17 deletions(-)

diff --git a/app-cdr/cdw/cdw-0.8.0.ebuild b/app-cdr/cdw/cdw-0.8.0.ebuild
index 2bcc1069a8b..5a20e7099a1 100644
--- a/app-cdr/cdw/cdw-0.8.0.ebuild
+++ b/app-cdr/cdw/cdw-0.8.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="An ncurses based console frontend for cdrtools and dvd+rw-tools"
 HOMEPAGE="http://cdw.sourceforge.net"
@@ -11,17 +11,24 @@ SRC_URI="mirror://sourceforge/cdw/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
-IUSE=""
 
-DEPEND="virtual/cdrtools
+RDEPEND="
+	virtual/cdrtools
 	app-cdr/dvd+rw-tools
 	dev-libs/libburn
 	dev-libs/libcdio[-minimal]
-	sys-libs/ncurses[unicode]"
-RDEPEND=${DEPEND}
+	sys-libs/ncurses[unicode]
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+"
+PATCHES=(
+	"${FILESDIR}"/${P}-uclibc.patch
+)
 
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-uclibc.patch
+src_configure() {
+	econf LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )"
 }
 
 src_install() {

diff --git a/app-cdr/cdw/cdw-9999.ebuild b/app-cdr/cdw/cdw-9999.ebuild
index 68ab7c086d5..2072bb68651 100644
--- a/app-cdr/cdw/cdw-9999.ebuild
+++ b/app-cdr/cdw/cdw-9999.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 ECVS_SERVER="cdw.cvs.sourceforge.net:/cvsroot/cdw"
 ECVS_MODULE="cdw"
 ECVS_TOPDIR="${DISTDIR}/cvs-src/${ECVS_MODULE}"
 
-inherit autotools eutils cvs
+inherit autotools cvs toolchain-funcs
 
 MY_P=${PN}_${PV}
 DESCRIPTION="An ncurses based console frontend for cdrtools and dvd+rw-tools"
@@ -15,21 +15,29 @@ HOMEPAGE="http://cdw.sourceforge.net"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
 
-DEPEND="virtual/cdrtools
+RDEPEND="
+	virtual/cdrtools
 	app-cdr/dvd+rw-tools
 	dev-libs/libburn
 	dev-libs/libcdio[-minimal]
-	sys-libs/ncurses[unicode]"
-RDEPEND=${DEPEND}
-
+	sys-libs/ncurses[unicode]
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+"
 S=${WORKDIR}/${ECVS_MODULE}
 
 src_prepare() {
+	default
 	eautoreconf
 }
 
+src_configure() {
+	econf LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )"
+}
+
 src_install() {
 	DOCS="AUTHORS ChangeLog NEWS README THANKS cdw.conf" \
 		default


             reply	other threads:[~2018-12-02 14:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-02 14:55 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-12-02 14:55 [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdw/ Jeroen Roovers
2018-12-02 14:55 Jeroen Roovers
2019-02-15 18:06 Mikle Kolyada
2019-04-22 19:43 Michał Górny
2019-04-22 19:43 Michał Górny
2019-04-22 19:43 Michał Górny
2019-04-22 19:43 Michał Górny
2020-12-18  9:00 Michał Górny
2021-04-18 19:10 Andreas Sturmlechner
2021-04-18 21:20 Sam James
2021-04-18 21:27 Sam James
2021-04-18 21:31 Andreas Sturmlechner
2021-08-14 15:57 Arthur Zamarin
2023-08-13 17:41 Arthur Zamarin

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=1543762540.ac121538f7d68721ca7ee4159a6c3647ba8565ea.jer@gentoo \
    --to=jer@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