1 |
commit: 440283d9bbae48dcaa54bbb1576c338c03d40745 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 28 12:32:58 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 28 12:49:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440283d9 |
7 |
|
8 |
app-benchmarks/acovea: [QA] Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-benchmarks/acovea/acovea-5.1.1-r2.ebuild | 47 ++++++++++++++++++++++ |
13 |
.../acovea/files/acovea-5.1.1-asneeded.patch | 8 ++-- |
14 |
.../acovea/files/acovea-5.1.1-free-fix.patch | 4 +- |
15 |
.../acovea/files/acovea-5.1.1-gcc44.patch | 4 +- |
16 |
.../acovea/files/acovea-5.1.1-glibc-212.patch | 4 +- |
17 |
.../acovea/files/acovea-5.1.1-libevocosm.patch | 4 +- |
18 |
6 files changed, 59 insertions(+), 12 deletions(-) |
19 |
|
20 |
diff --git a/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild b/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..ed0e2b0232d |
23 |
--- /dev/null |
24 |
+++ b/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild |
25 |
@@ -0,0 +1,47 @@ |
26 |
+# Copyright 1999-2017 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=6 |
30 |
+ |
31 |
+inherit autotools |
32 |
+ |
33 |
+DESCRIPTION="Analysis of Compiler Options via Evolutionary Algorithm" |
34 |
+HOMEPAGE="http://www.coyotegulch.com/products/acovea/" |
35 |
+SRC_URI="http://www.coyotegulch.com/distfiles/lib${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~ppc ~x86" |
40 |
+IUSE="static-libs" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ >=dev-libs/libcoyotl-3.1.0:= |
44 |
+ >=dev-libs/libevocosm-3.3.0:= |
45 |
+ dev-libs/expat:=" |
46 |
+DEPEND="${RDEPEND}" |
47 |
+ |
48 |
+S=${WORKDIR}/lib${P} |
49 |
+ |
50 |
+PATCHES=( |
51 |
+ "${FILESDIR}"/${P}-asneeded.patch |
52 |
+ "${FILESDIR}"/${P}-free-fix.patch |
53 |
+ "${FILESDIR}"/${P}-gcc44.patch |
54 |
+ "${FILESDIR}"/${P}-glibc-212.patch |
55 |
+ "${FILESDIR}"/${P}-underlinking.patch |
56 |
+ "${FILESDIR}"/${P}-libevocosm.patch |
57 |
+) |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ eautoreconf |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ econf $(use_enable static-libs static) |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ default |
70 |
+ |
71 |
+ find "${D}" -name '*.la' -delete || die |
72 |
+} |
73 |
|
74 |
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch b/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch |
75 |
index 8bfb8a17555..3a887c15888 100644 |
76 |
--- a/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch |
77 |
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch |
78 |
@@ -1,13 +1,13 @@ |
79 |
---- cmdline/Makefile.am |
80 |
-+++ cmdline/Makefile.am |
81 |
+--- a/cmdline/Makefile.am |
82 |
++++ b/cmdline/Makefile.am |
83 |
@@ -7,4 +7,4 @@ |
84 |
|
85 |
runacovea_SOURCES = runacovea.cpp |
86 |
|
87 |
-LIBS = -L../libacovea -lacovea -lcoyotl -levocosm -lexpat |
88 |
+LIBS = -L../libacovea -lacovea -lcoyotl -levocosm |
89 |
---- libacovea/Makefile.am |
90 |
-+++ libacovea/Makefile.am |
91 |
+--- a/libacovea/Makefile.am |
92 |
++++ b/libacovea/Makefile.am |
93 |
@@ -16,3 +16,5 @@ |
94 |
library_include_HEADERS = $(h_sources) |
95 |
|
96 |
|
97 |
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch b/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch |
98 |
index 55b3b00e889..e20bfa3eb98 100644 |
99 |
--- a/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch |
100 |
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch |
101 |
@@ -1,5 +1,5 @@ |
102 |
---- benchmarks/treebench.c |
103 |
-+++ benchmarks/treebench.c |
104 |
+--- a/benchmarks/treebench.c |
105 |
++++ b/benchmarks/treebench.c |
106 |
@@ -201,8 +201,8 @@ |
107 |
if (page->m_links[n] != NULL) |
108 |
recursive_destroy_page(page->m_links[n]); |
109 |
|
110 |
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch |
111 |
index c5e5392b2f9..2207f461642 100644 |
112 |
--- a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch |
113 |
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch |
114 |
@@ -1,5 +1,5 @@ |
115 |
---- libacovea/acovea.cpp |
116 |
-+++ libacovea/acovea.cpp |
117 |
+--- a/libacovea/acovea.cpp |
118 |
++++ b/libacovea/acovea.cpp |
119 |
@@ -44,10 +44,11 @@ |
120 |
#include <unistd.h> |
121 |
#include <sys/types.h> |
122 |
|
123 |
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch |
124 |
index 9763951a672..996cb5ebc82 100644 |
125 |
--- a/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch |
126 |
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch |
127 |
@@ -1,7 +1,7 @@ |
128 |
http://bugs.gentoo.org/336260 |
129 |
|
130 |
---- libacovea/acovea.cpp |
131 |
-+++ libacovea/acovea.cpp |
132 |
+--- a/libacovea/acovea.cpp |
133 |
++++ b/libacovea/acovea.cpp |
134 |
@@ -44,6 +44,7 @@ |
135 |
#include <unistd.h> |
136 |
#include <sys/types.h> |
137 |
|
138 |
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch b/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch |
139 |
index f801b8c68bc..46ddb5fe4d9 100644 |
140 |
--- a/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch |
141 |
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch |
142 |
@@ -1,5 +1,5 @@ |
143 |
---- libacovea/acovea.cpp |
144 |
-+++ libacovea/acovea.cpp |
145 |
+--- a/libacovea/acovea.cpp |
146 |
++++ b/libacovea/acovea.cpp |
147 |
@@ -86,7 +86,7 @@ |
148 |
// randomize settings of this option |
149 |
void option::randomize() |