diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-03-24 01:01:09 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-03-24 01:01:19 +0100 |
commit | 0c8cc35d5a53e2de805c244d25a1ced87e9460c4 (patch) | |
tree | 1547d749295c5568ab15aa832317cfaeb6287873 /media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild | |
parent | app-admin/gnome-abrt: Bump to 1.2.7 (diff) | |
download | gentoo-0c8cc35d5a53e2de805c244d25a1ced87e9460c4.tar.gz gentoo-0c8cc35d5a53e2de805c244d25a1ced87e9460c4.tar.bz2 gentoo-0c8cc35d5a53e2de805c244d25a1ced87e9460c4.zip |
media-sound/cvoicecontrol: Fixed build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/647166
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild')
-rw-r--r-- | media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild index 5aed99496537..db4a6d89d14d 100644 --- a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild +++ b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -MY_P=${P/_/} +inherit autotools + +MY_P="${P/_/}" DESCRIPTION="Console based speech recognition system" HOMEPAGE="http://www.kiecza.net/daniel/linux" @@ -14,15 +16,25 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" -PATCHES=( "${FILESDIR}/${P}-gentoo-2.patch" ) +PATCHES=( + "${FILESDIR}/${P}-gentoo-2.patch" + "${FILESDIR}/${P}-tinfo.patch" #647166 +) src_prepare() { default - sed -i -e "s/install-data-am: install-data-local/install-data-am:/" Makefile.in || die "sed failed" # Handle documentation with dohtml instead. - sed -i -e "s:SUBDIRS = docs:#SUBDIRS = docs:" cvoicecontrol/Makefile.in || die "sed #2 failed" + sed \ + -e "s:SUBDIRS = docs:#SUBDIRS = docs:" \ + -i cvoicecontrol/Makefile.am || die + + eautoreconf #647166 + + sed \ + -e "s/install-data-am: install-data-local/install-data-am:/" \ + -i Makefile.in || die } src_install () { |