1 |
commit: ed8d68be1f25305e410e3ca4a3e6076fded08332 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 19:58:49 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 10:09:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed8d68be |
7 |
|
8 |
sci-libs/arprec: Fi xunderlinking detected with ld.gold |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
sci-libs/arprec/arprec-2.2.18.ebuild | 14 +++++++++++--- |
14 |
sci-libs/arprec/files/arprec-2.2.18-gold.patch | 15 +++++++++++++++ |
15 |
sci-libs/arprec/metadata.xml | 20 ++++++++++---------- |
16 |
3 files changed, 36 insertions(+), 13 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/arprec/arprec-2.2.18.ebuild b/sci-libs/arprec/arprec-2.2.18.ebuild |
19 |
index ef5837cd07..99d5159a9e 100644 |
20 |
--- a/sci-libs/arprec/arprec-2.2.18.ebuild |
21 |
+++ b/sci-libs/arprec/arprec-2.2.18.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2016 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
# $Id$ |
27 |
|
28 |
@@ -7,7 +7,7 @@ EAPI=6 |
29 |
FORTRAN_NEEDED=fortran |
30 |
FORTRAN_STANDARD=90 |
31 |
|
32 |
-inherit fortran-2 |
33 |
+inherit autotools fortran-2 |
34 |
|
35 |
DESCRIPTION="Arbitrary precision float arithmetics and functions" |
36 |
HOMEPAGE="http://crd-legacy.lbl.gov/~dhbailey/mpdist/" |
37 |
@@ -21,7 +21,15 @@ IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran qd static-libs" |
38 |
DEPEND="qd? ( sci-libs/qd[fortran=] )" |
39 |
RDEPEND="${DEPEND}" |
40 |
|
41 |
-PATCHES=( "${FILESDIR}"/${PN}-2.2.18-fix-c++14.patch ) |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/${PN}-2.2.18-fix-c++14.patch |
44 |
+ "${FILESDIR}"/${P}-gold.patch |
45 |
+) |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ eautoreconf |
50 |
+} |
51 |
|
52 |
src_configure() { |
53 |
econf \ |
54 |
|
55 |
diff --git a/sci-libs/arprec/files/arprec-2.2.18-gold.patch b/sci-libs/arprec/files/arprec-2.2.18-gold.patch |
56 |
new file mode 100644 |
57 |
index 0000000000..293b495f10 |
58 |
--- /dev/null |
59 |
+++ b/sci-libs/arprec/files/arprec-2.2.18-gold.patch |
60 |
@@ -0,0 +1,15 @@ |
61 |
+ fortran/Makefile.am | 1 + |
62 |
+ 1 file changed, 1 insertion(+) |
63 |
+ |
64 |
+diff --git a/fortran/Makefile.am b/fortran/Makefile.am |
65 |
+index 8eb4d19..91a125c 100644 |
66 |
+--- a/fortran/Makefile.am |
67 |
++++ b/fortran/Makefile.am |
68 |
+@@ -4,6 +4,7 @@ LDADD = libarprec_f_main.la libarprecmod.la $(top_builddir)/src/libarprec.la $(F |
69 |
+ |
70 |
+ lib_LTLIBRARIES = libarprecmod.la libarprec_f_main.la |
71 |
+ libarprecmod_la_SOURCES = f_mp.cpp mp_mod.f mp_modm.f mp_modx.f |
72 |
++libarprecmod_la_LIBADD = $(top_builddir)/src/libarprec.la $(FCLIBS) |
73 |
+ libarprec_f_main_la_SOURCES = main.cpp |
74 |
+ |
75 |
+ if UPCASE_MODULE |
76 |
|
77 |
diff --git a/sci-libs/arprec/metadata.xml b/sci-libs/arprec/metadata.xml |
78 |
index d4b71b40e6..55cd058d02 100644 |
79 |
--- a/sci-libs/arprec/metadata.xml |
80 |
+++ b/sci-libs/arprec/metadata.xml |
81 |
@@ -2,17 +2,17 @@ |
82 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
83 |
<pkgmetadata> |
84 |
<maintainer type="person"> |
85 |
- <email>grozin@g.o</email> |
86 |
- <name>Andrey Grozin</name> |
87 |
-</maintainer> |
88 |
-<maintainer type="project"> |
89 |
- <email>sci@g.o</email> |
90 |
- <name>Gentoo Science Project</name> |
91 |
+ <email>grozin@g.o</email> |
92 |
+ <name>Andrey Grozin</name> |
93 |
</maintainer> |
94 |
-<longdescription> |
95 |
+ <maintainer type="project"> |
96 |
+ <email>sci@g.o</email> |
97 |
+ <name>Gentoo Science Project</name> |
98 |
+ </maintainer> |
99 |
+ <longdescription> |
100 |
Arbitrary precision library for float arithmetics and mathematical functions. |
101 |
</longdescription> |
102 |
-<use> |
103 |
- <flag name="qd">Use <pkg>sci-libs/qd</pkg> for quad-double datatype</flag> |
104 |
-</use> |
105 |
+ <use> |
106 |
+ <flag name="qd">Use <pkg>sci-libs/qd</pkg> for quad-double datatype</flag> |
107 |
+ </use> |
108 |
</pkgmetadata> |