Add configure support for ppc64el
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 1 May 2015 19:35:39 +0000 (19:35 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Fri, 1 May 2015 19:35:39 +0000 (19:35 +0000)
This patch was originally introduced [1] and rebased [2] in Ubuntu Trusty [3].

Some chunks were changed/removed on Debian:
  - The DPKG_ARCH / UNAME_MACHINE mapping is actually Debian-specific, and done
    in another patch; so this chunk is now there.
  - The 'PLATFORM=qws/linux-*-g++' setting is not required; ppc64el builds fine
    with the default 'linux-generic-g++'  (the difference to the previously set
    'linux-x86_64-g++' is just '-m64', which is default/only-option on ppc64el).

[1] http://launchpadlibrarian.net/159898800/qt4-x11_4:4.8.4+dfsg-0ubuntu20_4:4.8.4+dfsg-0ubuntu21.diff.gz
[2] http://launchpadlibrarian.net/162331250/qt4-x11_4:4.8.4+dfsg-0ubuntu22_4:4.8.5+git192-g085f851+dfsg-2ubuntu1.diff.gz
[3] https://launchpad.net/ubuntu/+source/qt4-x11/+changelog

Gbp-Pq: Name ppc64el_configure_support.patch

configure

index d20401bafb549f837432bb30977b93420b078d0c..e444c719e60af4dc6c0c5aea19603eed665f971d 100755 (executable)
--- a/configure
+++ b/configure
@@ -3283,7 +3283,7 @@ if [ -z "${CFG_HOST_ARCH}" ]; then
         fi
         CFG_HOST_ARCH=powerpc
         ;;
-    *:*:ppc64)
+    *:*:ppc64*)
         if [ "$OPT_VERBOSE" = "yes" ]; then
             echo "    64-bit PowerPC (powerpc)"
         fi