diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2017-04-26 17:47:15 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2017-04-26 17:47:48 +0300 |
commit | aba4101bd3259d9047484d517ef426bec1aa7770 (patch) | |
tree | bd3a1240d81161c9abd1db7124479e86f53b8ecc /app-misc | |
parent | net-fs/samba: Removed old. (diff) | |
download | gentoo-aba4101bd3259d9047484d517ef426bec1aa7770.tar.gz gentoo-aba4101bd3259d9047484d517ef426bec1aa7770.tar.bz2 gentoo-aba4101bd3259d9047484d517ef426bec1aa7770.zip |
app-misc/geekcode: bump EAPI to 6, add support for user patches
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/geekcode/geekcode-1.7.3-r1.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
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 } |