[Pkg-gdb-logs] [gdb] 02/03: d/rules: fix FTBFS on newer dpkg changes. Bug: #766754

Hector Oron zumbi at moszumanska.debian.org
Sat Nov 8 15:52:17 UTC 2014


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

zumbi pushed a commit to annotated tag debian/7.7.1+dfsg-4
in repository gdb.

commit 9b865fac9dd7116f27c6240c3c25cf9aeacbcc54
Author: Héctor Orón Martínez <zumbi at debian.org>
Date:   Sat Nov 8 16:20:13 2014 +0100

    d/rules: fix FTBFS on newer dpkg changes. Bug: #766754
    
    Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>
---
 debian/rules | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3a526c2..8b8fea1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,6 +34,8 @@ DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
 DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_TARGET_ARCH := $(shell dpkg-architecture -qDEB_TARGET_ARCH)
+DEB_TARGET_GNU_TYPE := $(shell dpkg-architecture -qDEB_TARGET_GNU_TYPE)
 
 # Cross configuration support.  Check for an environment variable
 # $GDB_TARGET, or a file debian/target.
@@ -44,10 +46,6 @@ GDB_TARGET := $(DEBIAN_TARGET_FILE)
 endif
 endif
 
-DEB_TARGET_ARCH	:= $(shell dpkg-architecture -f \
-		     -a$(GDB_TARGET) -qDEB_HOST_ARCH 2>/dev/null)
-DEB_TARGET_GNU_TYPE := $(shell dpkg-architecture -f \
-			 -a$(DEB_TARGET_ARCH) -qDEB_HOST_GNU_TYPE 2>/dev/null)
 DEB_TARGET_ALIAS ?= $(DEB_TARGET_GNU_TYPE)
 
 ifneq ($(GDB_TARGET),)

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



More information about the Pkg-gdb-logs mailing list