diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-10 07:53:09 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-10 07:53:09 +0000 |
commit | 665e565ebab91334d5644c780fee7e7f0e87bd49 (patch) | |
tree | 69b634a070e0006fd190e39312b14f2de7426367 /media-tv/dvbstreamer/dvbstreamer-1.1.ebuild | |
parent | Bug #280963 - Add missing sec-policy category to atoms. (diff) | |
download | gentoo-2-665e565ebab91334d5644c780fee7e7f0e87bd49.tar.gz gentoo-2-665e565ebab91334d5644c780fee7e7f0e87bd49.tar.bz2 gentoo-2-665e565ebab91334d5644c780fee7e7f0e87bd49.zip |
Fix building with GCC 4.4+ by removing -Werror wrt #260919.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/dvbstreamer/dvbstreamer-1.1.ebuild')
-rw-r--r-- | media-tv/dvbstreamer/dvbstreamer-1.1.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild b/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild index 49887756f1de..426a97ea4cab 100644 --- a/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild +++ b/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild,v 1.3 2009/01/10 17:56:00 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild,v 1.4 2009/08/10 07:53:09 ssuominen Exp $ -EAPI="1" - -inherit multilib +EAPI=2 +inherit autotools eutils multilib DESCRIPTION="DVB over UDP streaming solution" HOMEPAGE="http://dvbstreamer.sourceforge.net/" @@ -17,23 +16,23 @@ IUSE="" RDEPEND="dev-db/sqlite:3 sys-libs/readline" - DEPEND="${RDEPEND} media-tv/linuxtv-dvb-headers" -src_unpack() { - unpack ${A} +src_prepare() { # delete unneeded linking against libtermcap - sed -i "${S}"/src/Makefile* -e 's:-ltermcap::' + sed -i -e 's:-ltermcap::' src/Makefile.am || die "sed failed" + epatch "${FILESDIR}"/${P}-Werror.patch + AT_NO_RECURSIVE="yes" eautoreconf } -src_compile() { - econf --libdir=/usr/$(get_libdir) || die "configure failed" - emake || die "make failed" +src_configure() { + econf \ + --libdir=/usr/$(get_libdir) } src_install() { - emake install DESTDIR="${D}" || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" rm -rf "${D}"/usr/doc/ dodoc doc/*.txt ChangeLog README AUTHORS NEWS TODO |