Hello,
I'm doing an NMU of regina to fix #358960 and #360048; diff attached.
Thanks,
Matej
diff -u regina-3.3/debian/changelog regina-3.3/debian/changelog
--- regina-3.3/debian/changelog
+++ regina-3.3/debian/changelog
@@ -1,3 +1,11 @@
+regina (3.3-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Enable GCI only on platforms which have a GCI_CONVERT_HEADER.
+ Closes: #358960.
+
+ -- Matej Vela <[EMAIL PROTECTED]> Wed, 12 Jul 2006 11:36:27 +0200
+
regina (3.3-2) unstable; urgency=low
* Fixed lintian errors.
diff -u regina-3.3/debian/rules regina-3.3/debian/rules
--- regina-3.3/debian/rules
+++ regina-3.3/debian/rules
@@ -2,6 +2,9 @@
SHELL=/bin/bash
+export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+export DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
DESTDIR=$(shell pwd)/debian/tmp
debversion=$(shell head -n1 debian/changelog | \
@@ -18,6 +21,12 @@
package=regina$(soname)
rexxpackage=regina-rexx
+confflags=--prefix=/usr
+# Enable GCI only on platforms which have a GCI_CONVERT_HEADER.
+ifneq ($(filter alpha amd64 i386,$(DEB_HOST_ARCH)), )
+ confflags+=--enable-gci
+endif
+
ifeq ($(DEB_BUILD_ARCH), ia64)
CCOPTS=-g
else
@@ -34,7 +43,7 @@
configure: stamp-configure
stamp-configure:
$(checkdir)
- ./configure --prefix=/usr --enable-gci
+ ./configure $(confflags)
touch stamp-configure
clean: