1 |
On Tue, Apr 19, 2016 at 10:36 PM, Michał Górny <mgorny@g.o> wrote: |
2 |
|
3 |
> On Tue, 19 Apr 2016 22:32:51 +0800 |
4 |
> Leno Hou <lenohou@×××××.com> wrote: |
5 |
> |
6 |
> > On Tue, Apr 19, 2016 at 10:20 PM, Michał Górny <mgorny@g.o> |
7 |
> wrote: |
8 |
> > |
9 |
> > > On Tue, 19 Apr 2016 22:12:59 +0800 |
10 |
> > > Leno Hou <lenohou@×××××.com> wrote: |
11 |
> > > |
12 |
> > > > --- |
13 |
> > > > .../opensp-1.5.2-configure-with-ppc64le.patch | 26 |
14 |
> > > ++++++++++++++++++++++ |
15 |
> > > > app-text/opensp/opensp-1.5.2-r3.ebuild | 3 ++- |
16 |
> > > > app-text/opensp/opensp-1.5.2-r4.ebuild | 1 + |
17 |
> > > > 3 files changed, 29 insertions(+), 1 deletion(-) |
18 |
> > > > create mode 100644 |
19 |
> > > app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch |
20 |
> > > > |
21 |
> > > > diff --git |
22 |
> > > a/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch |
23 |
> > > b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch |
24 |
> > > > new file mode 100644 |
25 |
> > > > index 0000000..e1c8bef |
26 |
> > > > --- /dev/null |
27 |
> > > > +++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch |
28 |
> > > > @@ -0,0 +1,26 @@ |
29 |
> > > > +--- configure.orig 2016-04-09 16:24:17.507053635 +0000 |
30 |
> > > > ++++ configure 2016-04-09 16:25:41.851918142 +0000 |
31 |
> > > > +@@ -4947,6 +4947,9 @@ |
32 |
> > > > + ppc64-*linux*|powerpc64-*linux*) |
33 |
> > > > + LD="${LD-ld} -m elf32ppclinux" |
34 |
> > > > + ;; |
35 |
> > > > ++ ppc64le-*linux*|powerpc64le-*linux*) |
36 |
> > > > ++ LD="${LD-ld} -m elf32lppclinux" |
37 |
> > > > ++ ;; |
38 |
> > > > + s390x-*linux*) |
39 |
> > > > + LD="${LD-ld} -m elf_s390" |
40 |
> > > > + ;; |
41 |
> > > > +@@ -4960,9 +4963,12 @@ |
42 |
> > > > + x86_64-*linux*) |
43 |
> > > > + LD="${LD-ld} -m elf_x86_64" |
44 |
> > > > + ;; |
45 |
> > > > +- ppc*-*linux*|powerpc*-*linux*) |
46 |
> > > > ++ ppc64-*linux*|powerpc64-*linux*) |
47 |
> > > > + LD="${LD-ld} -m elf64ppc" |
48 |
> > > > + ;; |
49 |
> > > > ++ ppc64le-*linux*|powerpc64le-*linux*) |
50 |
> > > > ++ LD="${LD-ld} -m elf64lppc" |
51 |
> > > > ++ ;; |
52 |
> > > > + s390*-*linux*) |
53 |
> > > > + LD="${LD-ld} -m elf64_s390" |
54 |
> > > > + ;; |
55 |
> > > |
56 |
> > > Isn't that the generic kind of problem usually fixed via elibtoolize? |
57 |
> > > |
58 |
> > |
59 |
> > How to fix it via elibtoolize ? Thanks if you give me in detail ;-) |
60 |
> |
61 |
> I don't know the details, I just know it does some random common |
62 |
> patching to configure files. Take a look at libtool.eclass and |
63 |
> ELT-patches. |
64 |
|
65 |
|
66 |
Seems can't fix this in libtool.eclass and ELT-patches. |
67 |
|
68 |
-Leno Hou |