summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-12-02 15:45:23 +0100
committerJeroen Roovers <jer@gentoo.org>2018-12-02 15:55:40 +0100
commitac121538f7d68721ca7ee4159a6c3647ba8565ea (patch)
treea1acdcc71e4958ffbe28e6f1f6c91bd0ca152463 /app-cdr/cdw/cdw-0.8.0.ebuild
parentdev-libs/gobject-introspection: x86 stable wrt bug #670024 (diff)
downloadgentoo-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/cdw/cdw-0.8.0.ebuild')
-rw-r--r--app-cdr/cdw/cdw-0.8.0.ebuild25
1 files changed, 16 insertions, 9 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() {