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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to