[thepeg] 06/17: d/rules: correctly use DEB_HOST_ARCH instead of DEB_BUILD_ARCH
Mattia Rizzolo
mattia at debian.org
Wed Mar 8 23:26:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository thepeg.
commit 8d3683eaf2f57444054c982d27d2caac92bb20d3
Author: Mattia Rizzolo <mattia at debian.org>
Date: Wed Mar 8 23:58:48 2017 +0100
d/rules: correctly use DEB_HOST_ARCH instead of DEB_BUILD_ARCH
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9c6fa59..d4e6ffb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,11 @@ CFG := \
--enable-unitchecks \
--with-javagui \
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIBPATH := /usr/lib/$(DEB_HOST_MULTIARCH)
-ifeq (,$(findstring $(DEB_BUILD_ARCH), hurd-i386 mips mipsel))
+ifeq (,$(findstring $(DEB_HOST_ARCH), hurd-i386 mips mipsel))
CFG += --with-LHAPDF=$(LIBPATH)
else
CFG += --with-LHAPDF=no
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/thepeg.git
More information about the debian-science-commits
mailing list