1 |
commit: aba4101bd3259d9047484d517ef426bec1aa7770 |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 26 14:47:15 2017 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 26 14:47:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aba4101b |
7 |
|
8 |
app-misc/geekcode: bump EAPI to 6, add support for user patches |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
app-misc/geekcode/geekcode-1.7.3-r1.ebuild | 14 +++++++------- |
13 |
1 file changed, 7 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/app-misc/geekcode/geekcode-1.7.3-r1.ebuild b/app-misc/geekcode/geekcode-1.7.3-r1.ebuild |
16 |
index 9110f2b566c..72026a803e1 100644 |
17 |
--- a/app-misc/geekcode/geekcode-1.7.3-r1.ebuild |
18 |
+++ b/app-misc/geekcode/geekcode-1.7.3-r1.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI="2" |
24 |
+EAPI=6 |
25 |
|
26 |
-inherit eutils toolchain-funcs |
27 |
+inherit toolchain-funcs |
28 |
|
29 |
DESCRIPTION="Geek code generator" |
30 |
HOMEPAGE="https://sourceforge.net/projects/geekcode" |
31 |
@@ -12,19 +12,19 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
32 |
LICENSE="GPL-2" |
33 |
SLOT="0" |
34 |
KEYWORDS="alpha amd64 arm ~mips ppc ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos" |
35 |
-IUSE="" |
36 |
|
37 |
src_prepare() { |
38 |
- epatch "${FILESDIR}"/${P}-exit.patch |
39 |
+ eapply -p0 "${FILESDIR}/${P}-exit.patch" |
40 |
sed -i Makefile -e 's| -o | ${LDFLAGS}&|g' || die "sed Makefile" |
41 |
+ |
42 |
+ eapply_user |
43 |
} |
44 |
|
45 |
src_compile() { |
46 |
- emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ |
47 |
- CC="$(tc-getCC)" || die "emake failed" |
48 |
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" |
49 |
} |
50 |
|
51 |
src_install() { |
52 |
- dobin geekcode || die |
53 |
+ dobin geekcode |
54 |
dodoc CHANGES README geekcode.txt |
55 |
} |