diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-12-02 15:45:23 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-12-02 15:55:40 +0100 |
commit | ac121538f7d68721ca7ee4159a6c3647ba8565ea (patch) | |
tree | a1acdcc71e4958ffbe28e6f1f6c91bd0ca152463 /app-cdr | |
parent | dev-libs/gobject-introspection: x86 stable wrt bug #670024 (diff) | |
download | gentoo-ac121538f7d68721ca7ee4159a6c3647ba8565ea.tar.gz gentoo-ac121538f7d68721ca7ee4159a6c3647ba8565ea.tar.bz2 gentoo-ac121538f7d68721ca7ee4159a6c3647ba8565ea.zip |
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@gentoo.org>
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/cdw/cdw-0.8.0.ebuild | 25 | ||||
-rw-r--r-- | 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 2bcc1069a8b0..5a20e7099a10 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 68ab7c086d59..2072bb68651b 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 |