Gentoo Archives: gentoo-dev

From: Leno Hou <lenohou@×××××.com>
To: gentoo-dev@l.g.o, "Anthony G. Basile" <blueness@g.o>, Leno Hou <lenohou@×××××.com>, Zhao Kevin <kevin.zhaoshuai@×××××.com>
Subject: Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
Date: Fri, 22 Apr 2016 07:48:46
Message-Id: CAGQVrL_TrNjs0E+uZorvsYchejcW4se8W+U+sooZm7vH8bvPHw@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem by Mike Frysinger
1 On Wed, Apr 20, 2016 at 10:33 AM, Mike Frysinger <vapier@g.o> wrote:
2
3 > On 19 Apr 2016 22:12, Leno Hou wrote:
4 > > --- /dev/null
5 > > +++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch
6 > > @@ -0,0 +1,26 @@
7 > > +--- configure.orig 2016-04-09 16:24:17.507053635 +0000
8 > > ++++ configure 2016-04-09 16:25:41.851918142 +0000
9 > > +@@ -4947,6 +4947,9 @@
10 > > + ppc64-*linux*|powerpc64-*linux*)
11 > > + LD="${LD-ld} -m elf32ppclinux"
12 > > + ;;
13 > > ++ ppc64le-*linux*|powerpc64le-*linux*)
14 > > ++ LD="${LD-ld} -m elf32lppclinux"
15 > > ++ ;;
16 >
17 > you appear to be patching libtool code. this should be in libtool
18 > itself. if it's a common issue, we'll want to leverage elibtoolize
19 > here. make a patch and stick it in eclass/ELT-patches/ppc64le/,
20 > and then update the libtool.eclass file to apply those. then update
21 > opensp to call the elibtoolize function in src_prepare.
22 > -mike
23 >
24
25 Thanks Mike, I've sent the patch in mailing list and cc'ed you. Could you
26 help me to review and merge?
27
28 -Leno Hou