From 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 2 Jun 2018 10:47:13 +0100 Subject: gentoo resync : 02.06.2018 --- app-misc/binclock/binclock-1.5.ebuild | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'app-misc/binclock/binclock-1.5.ebuild') diff --git a/app-misc/binclock/binclock-1.5.ebuild b/app-misc/binclock/binclock-1.5.ebuild index 3e80505179b1..0c4db18b0aad 100644 --- a/app-misc/binclock/binclock-1.5.ebuild +++ b/app-misc/binclock/binclock-1.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Displays a binary clock in your terminal" HOMEPAGE="http://www.ngolde.de/binclock/" @@ -17,16 +17,15 @@ IUSE="" RDEPEND="" DEPEND=">=sys-apps/sed-4" -src_prepare() { - sed -i -e s/strip/true/ Makefile || die -} +PATCHES=( "${FILESDIR}/binclock-1.5-Makefile.patch" ) -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" || die "emake failed" +src_configure() { + append-cflags -Wall -pedantic + tc-export CC } src_install() { - dobin binclock || die "dobin failed" - doman doc/binclock.1 || die "doman failed" - dodoc CHANGELOG README binclockrc || die "dodoc failed" + dobin binclock + doman doc/binclock.1 + dodoc CHANGELOG README binclockrc } -- cgit v1.2.3