[scalapack] 03/04: debian/rules: conditionally define Debian variables using ?=
Drew Parsons
dparsons at moszumanska.debian.org
Thu Nov 30 18:15:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to tag debian/2.0.2-4
in repository scalapack.
commit 2d8dcdf87a1d847abf6e87c0f9dadb452187d701
Author: Drew Parsons <dparsons at debian.org>
Date: Fri Dec 1 01:15:01 2017 +0800
debian/rules: conditionally define Debian variables using ?=
affects DEB_HOST_MULTIARCH DEB_HOST_ARCH DEB_BUILD_ARCH_OS
---
debian/changelog | 1 +
debian/rules | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b4e6b2c..75afc28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ scalapack (2.0.2-5) UNRELEASED; urgency=medium
causes tests to fail. So strip it from LDFLAGS.
Thanks Steve Langasek. Closes: #883042.
* Priority: optional not extra.
+ * debian/rules: conditionally define Debian build variables using ?=
-- Drew Parsons <dparsons at debian.org> Fri, 01 Dec 2017 00:01:01 +0800
diff --git a/debian/rules b/debian/rules
index 6a1ef7b..a205021 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,9 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
-export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-export DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-export DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+export DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
ifneq (,$(wildcard /usr/share/mpi-default-dev/debian_defaults))
include /usr/share/mpi-default-dev/debian_defaults
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/scalapack.git
More information about the debian-science-commits
mailing list