[med-svn] [Git][med-team/gmap][master] Fix the i386 build

Michael R. Crusoe gitlab at salsa.debian.org
Fri Feb 26 06:41:08 GMT 2021



Michael R. Crusoe pushed to branch master at Debian Med / gmap


Commits:
ce9d89b0 by Adrian Bunk at 2021-02-26T00:13:48+02:00
Fix the i386 build

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -18,8 +18,8 @@ Homepage: http://research-pub.gene.com/gmap
 Rules-Requires-Root: no
 
 Package: gmap
-Architecture: amd64 arm64 armel armhf mips64el mipsel ppc64el
-#not i386 nor s390x
+Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el
+#not s390x
 Depends: ${misc:Depends},
          ${perl:Depends},
          ${shlibs:Depends}


=====================================
debian/rules
=====================================
@@ -10,12 +10,16 @@ include /usr/share/dpkg/architecture.mk
 
 HELP2MAN = /usr/bin/help2man --no-info --version-string=${DEB_VERSION}
 
+ifneq (,$(filter $(DEB_HOST_ARCH), i386))
+  SIMD = --disable-simd
+endif
+
 %:
 	dh  $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- --with-gmapdb=/var/cache/gmap \
-	--bindir=/usr/lib/gmap
+	--bindir=/usr/lib/gmap $(SIMD)
 
 override_dh_auto_install:
 	mkdir -p $(mandir)



View it on GitLab: https://salsa.debian.org/med-team/gmap/-/commit/ce9d89b0c6ca9fb5a12438e9894755cb3c4f24d6

-- 
View it on GitLab: https://salsa.debian.org/med-team/gmap/-/commit/ce9d89b0c6ca9fb5a12438e9894755cb3c4f24d6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210226/f51a7adb/attachment.htm>


More information about the debian-med-commit mailing list