Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: blueness@g.o, Leno Hou <lenohou@×××××.com>
Subject: Re: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem
Date: Wed, 20 Apr 2016 02:34:12
Message-Id: 20160420023359.GU5369@vapier.lan
In Reply to: [gentoo-dev] [PATCH v1][ 1/8] app-text/opensp: Fix ppc64le configure problem by Leno Hou
1 On 19 Apr 2016 22:12, Leno Hou wrote:
2 > --- /dev/null
3 > +++ b/app-text/opensp/files/opensp-1.5.2-configure-with-ppc64le.patch
4 > @@ -0,0 +1,26 @@
5 > +--- configure.orig 2016-04-09 16:24:17.507053635 +0000
6 > ++++ configure 2016-04-09 16:25:41.851918142 +0000
7 > +@@ -4947,6 +4947,9 @@
8 > + ppc64-*linux*|powerpc64-*linux*)
9 > + LD="${LD-ld} -m elf32ppclinux"
10 > + ;;
11 > ++ ppc64le-*linux*|powerpc64le-*linux*)
12 > ++ LD="${LD-ld} -m elf32lppclinux"
13 > ++ ;;
14
15 you appear to be patching libtool code. this should be in libtool
16 itself. if it's a common issue, we'll want to leverage elibtoolize
17 here. make a patch and stick it in eclass/ELT-patches/ppc64le/,
18 and then update the libtool.eclass file to apply those. then update
19 opensp to call the elibtoolize function in src_prepare.
20 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies