public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: Leno Hou <lenohou@gmail.com>
Cc: "Anthony G. Basile" <blueness@gentoo.org>, gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
Date: Tue, 19 Apr 2016 16:36:31 +0200	[thread overview]
Message-ID: <20160419163631.3b2dde25.mgorny@gentoo.org> (raw)
In-Reply-To: <CAGQVrL8Nz=36MRvna2r2cJ60QU_tshjJqGXH_dnGfYV2szcpuA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2407 bytes --]

On Tue, 19 Apr 2016 22:32:51 +0800
Leno Hou <lenohou@gmail.com> wrote:

> On Tue, Apr 19, 2016 at 10:20 PM, Michał Górny <mgorny@gentoo.org> wrote:
> 
> > On Tue, 19 Apr 2016 22:12:59 +0800
> > Leno Hou <lenohou@gmail.com> wrote:
> >  
> > > ---
> > >  .../opensp-1.5.2-configure-with-ppc64le.patch      | 26  
> > ++++++++++++++++++++++  
> > >  app-text/opensp/opensp-1.5.2-r3.ebuild             |  3 ++-
> > >  app-text/opensp/opensp-1.5.2-r4.ebuild             |  1 +
> > >  3 files changed, 29 insertions(+), 1 deletion(-)
> > >  create mode 100644  
> > app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch  
> > >
> > > 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  
> > > new file mode 100644
> > > index 0000000..e1c8bef
> > > --- /dev/null
> > > +++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch
> > > @@ -0,0 +1,26 @@
> > > +--- configure.orig   2016-04-09 16:24:17.507053635 +0000
> > > ++++ configure        2016-04-09 16:25:41.851918142 +0000
> > > +@@ -4947,6 +4947,9 @@
> > > +         ppc64-*linux*|powerpc64-*linux*)
> > > +           LD="${LD-ld} -m elf32ppclinux"
> > > +           ;;
> > > ++        ppc64le-*linux*|powerpc64le-*linux*)
> > > ++          LD="${LD-ld} -m elf32lppclinux"
> > > ++          ;;
> > > +         s390x-*linux*)
> > > +           LD="${LD-ld} -m elf_s390"
> > > +           ;;
> > > +@@ -4960,9 +4963,12 @@
> > > +         x86_64-*linux*)
> > > +           LD="${LD-ld} -m elf_x86_64"
> > > +           ;;
> > > +-        ppc*-*linux*|powerpc*-*linux*)
> > > ++        ppc64-*linux*|powerpc64-*linux*)
> > > +           LD="${LD-ld} -m elf64ppc"
> > > +           ;;
> > > ++        ppc64le-*linux*|powerpc64le-*linux*)
> > > ++          LD="${LD-ld} -m elf64lppc"
> > > ++          ;;
> > > +         s390*-*linux*)
> > > +           LD="${LD-ld} -m elf64_s390"
> > > +           ;;  
> >
> > Isn't that the generic kind of problem usually fixed via elibtoolize?
> >  
> 
>  How to fix it via elibtoolize ? Thanks if you give me in detail ;-)

I don't know the details, I just know it does some random common
patching to configure files. Take a look at libtool.eclass and
ELT-patches.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

  reply	other threads:[~2016-04-19 14:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 14:12 [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 2/8] dev-libs/expat: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 3/8] net-firewall/iptables: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 4/8] net-libs/libmnl: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 5/8] sys-apps/acl: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 6/8] sys-apps/attr: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 7/8] sys-libs/gdbm: " Leno Hou
2016-04-19 14:13 ` [gentoo-dev] [PATCH v1][ 8/8] sys-process/procps: " Leno Hou
2016-04-19 14:20 ` [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: " Michał Górny
2016-04-19 14:32   ` Leno Hou
2016-04-19 14:36     ` Michał Górny [this message]
2016-04-19 14:51       ` Leno Hou
2016-04-19 15:09         ` Leno Hou
2016-04-20  2:33 ` Mike Frysinger
2016-04-22  7:48   ` Leno Hou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160419163631.3b2dde25.mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=blueness@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=lenohou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox