From aba4101bd3259d9047484d517ef426bec1aa7770 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Wed, 26 Apr 2017 17:47:15 +0300 Subject: app-misc/geekcode: bump EAPI to 6, add support for user patches Package-Manager: Portage-2.3.5, Repoman-2.3.1 --- app-misc/geekcode/geekcode-1.7.3-r1.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app-misc') diff --git a/app-misc/geekcode/geekcode-1.7.3-r1.ebuild b/app-misc/geekcode/geekcode-1.7.3-r1.ebuild index 9110f2b566c6..72026a803e16 100644 --- a/app-misc/geekcode/geekcode-1.7.3-r1.ebuild +++ b/app-misc/geekcode/geekcode-1.7.3-r1.ebuild @@ -1,9 +1,9 @@ # 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 toolchain-funcs DESCRIPTION="Geek code generator" HOMEPAGE="https://sourceforge.net/projects/geekcode" @@ -12,19 +12,19 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm ~mips ppc ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="" src_prepare() { - epatch "${FILESDIR}"/${P}-exit.patch + eapply -p0 "${FILESDIR}/${P}-exit.patch" sed -i Makefile -e 's| -o | ${LDFLAGS}&|g' || die "sed Makefile" + + eapply_user } src_compile() { - emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ - CC="$(tc-getCC)" || die "emake failed" + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" } src_install() { - dobin geekcode || die + dobin geekcode dodoc CHANGES README geekcode.txt } -- cgit v1.2.3-65-gdbad