1 |
On Tue, 19 Apr 2016 22:12:59 +0800 |
2 |
Leno Hou <lenohou@×××××.com> wrote: |
3 |
|
4 |
> --- |
5 |
> .../opensp-1.5.2-configure-with-ppc64le.patch | 26 ++++++++++++++++++++++ |
6 |
> app-text/opensp/opensp-1.5.2-r3.ebuild | 3 ++- |
7 |
> app-text/opensp/opensp-1.5.2-r4.ebuild | 1 + |
8 |
> 3 files changed, 29 insertions(+), 1 deletion(-) |
9 |
> create mode 100644 app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch |
10 |
> |
11 |
> diff --git a/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch |
12 |
> new file mode 100644 |
13 |
> index 0000000..e1c8bef |
14 |
> --- /dev/null |
15 |
> +++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch |
16 |
> @@ -0,0 +1,26 @@ |
17 |
> +--- configure.orig 2016-04-09 16:24:17.507053635 +0000 |
18 |
> ++++ configure 2016-04-09 16:25:41.851918142 +0000 |
19 |
> +@@ -4947,6 +4947,9 @@ |
20 |
> + ppc64-*linux*|powerpc64-*linux*) |
21 |
> + LD="${LD-ld} -m elf32ppclinux" |
22 |
> + ;; |
23 |
> ++ ppc64le-*linux*|powerpc64le-*linux*) |
24 |
> ++ LD="${LD-ld} -m elf32lppclinux" |
25 |
> ++ ;; |
26 |
> + s390x-*linux*) |
27 |
> + LD="${LD-ld} -m elf_s390" |
28 |
> + ;; |
29 |
> +@@ -4960,9 +4963,12 @@ |
30 |
> + x86_64-*linux*) |
31 |
> + LD="${LD-ld} -m elf_x86_64" |
32 |
> + ;; |
33 |
> +- ppc*-*linux*|powerpc*-*linux*) |
34 |
> ++ ppc64-*linux*|powerpc64-*linux*) |
35 |
> + LD="${LD-ld} -m elf64ppc" |
36 |
> + ;; |
37 |
> ++ ppc64le-*linux*|powerpc64le-*linux*) |
38 |
> ++ LD="${LD-ld} -m elf64lppc" |
39 |
> ++ ;; |
40 |
> + s390*-*linux*) |
41 |
> + LD="${LD-ld} -m elf64_s390" |
42 |
> + ;; |
43 |
|
44 |
Isn't that the generic kind of problem usually fixed via elibtoolize? |
45 |
|
46 |
-- |
47 |
Best regards, |
48 |
Michał Górny |
49 |
<http://dev.gentoo.org/~mgorny/> |