1 |
commit: 61e6e0542dcbb9eab9c80f90f48d60ff467a166a |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 11:20:46 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 13:15:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e6e054 |
7 |
|
8 |
app-arch/funzix: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-arch/funzix/files/funzix-1.0-fix-build-system.patch | 8 ++++++++ |
13 |
app-arch/funzix/funzix-1.0.ebuild | 14 +++++++++----- |
14 |
2 files changed, 17 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/app-arch/funzix/files/funzix-1.0-fix-build-system.patch b/app-arch/funzix/files/funzix-1.0-fix-build-system.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..1fd5482d4dc |
19 |
--- /dev/null |
20 |
+++ b/app-arch/funzix/files/funzix-1.0-fix-build-system.patch |
21 |
@@ -0,0 +1,8 @@ |
22 |
+--- a/Makefile |
23 |
++++ b/Makefile |
24 |
+@@ -1,4 +1,4 @@ |
25 |
+-CFLAGS += -Wall -g |
26 |
++CFLAGS += -Wall |
27 |
+ LDLIBS += -lz |
28 |
+ |
29 |
+ all: funzix |
30 |
|
31 |
diff --git a/app-arch/funzix/funzix-1.0.ebuild b/app-arch/funzix/funzix-1.0.ebuild |
32 |
index 9d479a6c8ef..8f62fd7801f 100644 |
33 |
--- a/app-arch/funzix/funzix-1.0.ebuild |
34 |
+++ b/app-arch/funzix/funzix-1.0.ebuild |
35 |
@@ -1,6 +1,8 @@ |
36 |
-# Copyright 1999-2008 Gentoo Foundation |
37 |
+# Copyright 1999-2017 Gentoo Foundation |
38 |
# Distributed under the terms of the GNU General Public License v2 |
39 |
|
40 |
+EAPI=6 |
41 |
+ |
42 |
inherit toolchain-funcs |
43 |
|
44 |
DESCRIPTION="unpacker for the bogus ZIX format" |
45 |
@@ -12,11 +14,13 @@ SLOT="0" |
46 |
KEYWORDS="amd64 x86" |
47 |
IUSE="" |
48 |
|
49 |
-src_compile() { |
50 |
- emake CC="$(tc-getCC)" || die "emake failed" |
51 |
+PATCHES=( "${FILESDIR}"/${PN}-1.0-fix-build-system.patch ) |
52 |
+ |
53 |
+src_configure() { |
54 |
+ tc-export CC |
55 |
} |
56 |
|
57 |
src_install() { |
58 |
- dobin funzix || die |
59 |
- dodoc README |
60 |
+ dobin funzix |
61 |
+ einstalldocs |
62 |
} |