On Tue, 19 Apr 2016 22:12:59 +0800
Leno Hou <leno...@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?

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

Attachment: pgpIP0F9BPS8i.pgp
Description: OpenPGP digital signature

Reply via email to