[SCM] Qt 4 packaging branch, master, updated. debian/4.7.3-5-5-g786242a

Pino Toscano pino at alioth.debian.org
Tue Aug 9 16:20:32 UTC 2011


The following commit has been merged in the master branch:
commit efcdfaa0dc8620168e9cff67e962b1a98298b71c
Author: Pino Toscano <pino at debian.org>
Date:   Tue Aug 9 18:18:24 2011 +0200

    rules: simplify checks for linux-g++(-64) platform
---
 debian/rules |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index d4a3f44..d3a3e18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,15 +53,12 @@ else
 endif
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
-  ifeq ($(DEB_HOST_ARCH),amd64)
+  architectures_64bits := amd64 sparc64
+  ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(architectures_64bits)))
 	platform_arg = linux-g++-64
   else
-    ifeq ($(DEB_HOST_ARCH),sparc64)
-	platform_arg = linux-g++-64
-    else
 	platform_arg = linux-g++
-    endif # sparc64
-  endif # amd64
+  endif
 else
 	platform_arg = glibc-g++
 endif

-- 
Qt 4 packaging



More information about the pkg-kde-commits mailing list