[Pkg-ofed-commits] [infinipath-psm] 01/01: Improve architecture detection. (Closes: #807149)

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Mon Apr 4 08:20:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to branch debian/master
in repository infinipath-psm.

commit 3f5642435bf1e0eeb7c84d95e63845baddfe4d21
Author: Ana Beatriz Guerrero Lopez <ana at debian.org>
Date:   Mon Apr 4 10:19:31 2016 +0200

    Improve architecture detection. (Closes: #807149)
---
 debian/changelog | 6 ++++++
 debian/rules     | 7 ++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 85d919c..afea7c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+infinipath-psm (3.3+19.g67c0807.open-2) UNRELEASED; urgency=medium
+
+  * Improve architecture detection. (Closes: #807149)
+
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org>  Mon, 04 Apr 2016 10:18:09 +0200
+
 infinipath-psm (3.3+19.g67c0807.open-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 471ab6c..11a0cea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,13 @@
 include /usr/share/dpkg/buildflags.mk
 include /usr/share/dpkg/pkg-info.mk
 
+ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq ($(ARCH),amd64)
+  ARCH := x86_64
+endif
+
 MAKE_OPTIONS := INSTALL_PREFIX=/usr libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
-  PSM_HAVE_SCIF=0 USE_PSM_UUID=0 arch=$(shell arch) 
+  PSM_HAVE_SCIF=0 USE_PSM_UUID=0 arch=$(ARCH)
 
 %:
 	dh $@ --parallel

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infinipath-psm.git



More information about the Pkg-ofed-commits mailing list