Package: libgmp10
Version: 2:6.1.0+dfsg-2
Severity: wishlist
Tags: patch
User: bal...@balintreczey.hu
Usertags: hardened1-linux-amd64
User: helm...@debian.org
Usertags: rebootstrap

Dear gmp maintainers,

Please consider detecting amd64 architectures using the attached patch
in debian/rules. This allows building gmp for hardened1-linux-amd64
which port I'm bootstrapping.

It there are no objections I'll apply the patch and perform a team upload
in the coming weeks.

Cheers,
Balint
--- a/debian/rules
+++ b/debian/rules
@@ -44,10 +44,14 @@ endif
 
 confflags = --prefix=/usr --enable-cxx
 
-ifneq (,$(filter $(DEB_HOST_ARCH), amd64 kfreebsd-amd64 lpia))
+ifneq (,$(findstring amd64,$(DEB_HOST_ARCH)))
   confflags += --disable-fat
 else
-  confflags += --enable-fat
+  ifneq (,$(filter $(DEB_HOST_ARCH),lpia))
+    confflags += --disable-fat
+  else
+    confflags += --enable-fat
+  endif
 endif
 
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to