From a1703edf13a64b666beb8c1cb440997546379ebe Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Sun, 4 Oct 2009 16:20:43 +0300 Subject: [PATCH] Call dpkg with --print-architecture. Used to be called with --print-installation-architecture. --- debian/changelog | 2 ++ debian/rules | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 69b15a72d..b2b6a6e24 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,8 @@ cmake (2.8.0~rc2-0r2) UNRELEASED; urgency=low - FindJNI.cmake-more-arches.diff - remove, was taken from upstream; - FindVTK.cmake-vtk-5.4.diff - remove, was taken from upstream. * Update install files. + * Call dpkg with --print-architecture rather than obsolete + --print-installation-architecture. -- Modestas Vainius Sun, 04 Oct 2009 10:31:17 +0300 diff --git a/debian/rules b/debian/rules index 26b143d33..dde59e619 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ include /usr/share/quilt/quilt.make #USE_DARTP:=$(shell if [ -d /usr/share/Dart ]; then echo true; fi ) USE_DARTP:= -DARCH := $(shell dpkg --print-installation-architecture) +DARCH := $(shell dpkg --print-architecture) CFLAGS := -Wall -g $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2) BUILD_FLAGS_FILE := build-flags.cmake