[med-svn] [gmap] 08/08: d/rules: apply patch provided by Graham Inggs, see #779564

Alex Mestiashvili malex-guest at moszumanska.debian.org
Fri Mar 13 09:51:50 UTC 2015


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

malex-guest pushed a commit to branch master
in repository gmap.

commit 9b29a37ca1a31d76827d1a97c19795f31fced593
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Thu Mar 12 18:08:54 2015 +0100

    d/rules: apply patch provided by Graham Inggs, see #779564
---
 debian/changelog | 3 +++
 debian/rules     | 7 ++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8e47ab0..a98c8a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 gmap (2014-12-23-1) UNRELEASED; urgency=medium
 
   * Imported Upstream version 2014-12-23
+  * d/*.1: updated man pages
+  * d/rules: applied patch from Graham Inggs <graham at nerve.org.za>,
+    Closes: #779564.
 
  -- Alexandre Mestiashvili <alex at biotec.tu-dresden.de>  Thu, 12 Mar 2015 17:01:57 +0100
 
diff --git a/debian/rules b/debian/rules
index 7dc87c0..6e9bfd0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,12 +2,17 @@
 
 export DH_OPTIONS
 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+EXTRA_CONFIGURE_ARGS =
+ifeq ($(DEB_HOST_ARCH), i386)
+EXTRA_CONFIGURE_ARGS += --enable-sse4.1=no --enable-sse4.2=no
+endif
 
 %:
 	dh  $@ --with autotools_dev
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-shared --with-gmapdb=/var/cache/gmap --bindir=/usr/lib/gmap
+	dh_auto_configure -- --enable-shared --with-gmapdb=/var/cache/gmap --bindir=/usr/lib/gmap $(EXTRA_CONFIGURE_ARGS)
 
 override_dh_install:
 	dh_install

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



More information about the debian-med-commit mailing list