[SCM] ffado/master: d/rules: fixup some host/build architecture confusion

mattia at users.alioth.debian.org mattia at users.alioth.debian.org
Fri Nov 10 23:40:41 UTC 2017


The following commit has been merged in the master branch:
commit aae1097df482a654d92a3bde3c0fffb3b751bef0
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Nov 10 23:36:09 2017 +0100

    d/rules: fixup some host/build architecture confusion
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>

diff --git a/debian/rules b/debian/rules
index 7faabfe..d5fe5e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@
 # of the GNU General Public License, incorporated herein by reference.
 #
 
+include /usr/share/dpkg/architecture.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/utils.mk
 
@@ -26,9 +27,9 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
   NJOBS += -j$(NUMJOBS)
 endif
 
-ifneq (,$(findstring power,$(DEB_BUILD_ARCH)))
+ifneq (,$(findstring power,$(DEB_HOST_ARCH)))
 EXPLICIT_TARGET = DIST_TARGET=powerpc
-else ifneq (,$(findstring i386,$(DEB_BUILD_ARCH)))
+else ifneq (,$(findstring i386,$(DEB_HOST_ARCH)))
 EXPLICIT_TARGET = DIST_TARGET=i386
 else
 EXPLICIT_TARGET =

-- 
Free Firewire Audio Drivers (ffado.org) packaging



More information about the pkg-multimedia-commits mailing list