diff options
Diffstat (limited to 'dev-util/diffball/diffball-1.0.1.ebuild')
-rw-r--r-- | dev-util/diffball/diffball-1.0.1.ebuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/dev-util/diffball/diffball-1.0.1.ebuild b/dev-util/diffball/diffball-1.0.1.ebuild index ba9d483721f4..52393215d0aa 100644 --- a/dev-util/diffball/diffball-1.0.1.ebuild +++ b/dev-util/diffball/diffball-1.0.1.ebuild @@ -1,7 +1,11 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ +EAPI=6 + +inherit flag-o-matic + DESCRIPTION="Delta compression suite for using/generating binary patches" HOMEPAGE="https://diffball.googlecode.com/" SRC_URI="https://diffball.googlecode.com/files/${P}.tar.bz2" @@ -20,12 +24,12 @@ DEPEND="${RDEPEND} # Invalid RESTRICT for source package. Investigate. RESTRICT="strip" -src_compile() { - econf $(use_enable debug asserts) - emake || die "emake failed" +src_prepare() { + # fix bug 548316 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 + default } -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog README TODO +src_configure() { + econf $(use_enable debug asserts) } |