From 76dfef0cec9170000357d2f354e412daf48941fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Dec 2017 01:11:30 +0000 Subject: gentoo resync : 30.12.2017 --- app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild') diff --git a/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild b/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild index ca26b16fbcfb..f28c6df42ec4 100644 --- a/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild +++ b/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit eutils toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="utility to test and create .sfv files and create .par files" HOMEPAGE="http://pure-sfv.sourceforge.net/" @@ -15,20 +15,15 @@ KEYWORDS="amd64 ~hppa ppc x86" IUSE="" RESTRICT="test" -DEPEND="" +S=${WORKDIR} +PATCHES=( "${FILESDIR}"/${PN}-0.3-fix-build-system.patch ) -S="${WORKDIR}" - -src_prepare() { - sed -i Makefile -e "s:-Werror -O2 -g::" - epatch "${FILESDIR}"/${P}-asneeded.patch -} - -src_compile() { - emake CC="$(tc-getCC)" || die "emake failed" +src_configure() { + append-cflags -Wall -Wno-unused + tc-export CC } src_install() { - dobin pure-sfv || die "dobin failed" - dodoc ReadMe.txt + dobin pure-sfv + newdoc ReadMe.txt README } -- cgit v1.2.3