Author: sascha-guest
Date: 2015-06-10 10:36:05 +0000 (Wed, 10 Jun 2015)
New Revision: 19321

Modified:
   trunk/packages/genometools/trunk/debian/changelog
   trunk/packages/genometools/trunk/debian/rules
Log:
genometools: fix FTBFS on hurd-i386 due to faketime


Modified: trunk/packages/genometools/trunk/debian/changelog
===================================================================
--- trunk/packages/genometools/trunk/debian/changelog   2015-06-08 18:56:54 UTC 
(rev 19320)
+++ trunk/packages/genometools/trunk/debian/changelog   2015-06-10 10:36:05 UTC 
(rev 19321)
@@ -1,3 +1,9 @@
+genometools (1.5.5-2) unstable; urgency=low
+
+  * Disable faketime on hurd-i386 to fix FTBFS on that arch.
+
+ -- Sascha Steinbiss <sas...@steinbiss.name>  Wed, 10 Jun 2015 10:03:22 +0000
+
 genometools (1.5.5-1) unstable; urgency=low
 
   * New upstream release. 

Modified: trunk/packages/genometools/trunk/debian/rules
===================================================================
--- trunk/packages/genometools/trunk/debian/rules       2015-06-08 18:56:54 UTC 
(rev 19320)
+++ trunk/packages/genometools/trunk/debian/rules       2015-06-10 10:36:05 UTC 
(rev 19321)
@@ -5,12 +5,16 @@
 export DESTDIR=$(CURDIR)/debian/tmp
 export DH_ALWAYS_EXCLUDE=.gitignore
 
-BITS:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH_BITS | cut -f 2 -d'=')
+BITS:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH_BITS= | cut -f 2 -d'=')
+ARCH:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH= | cut -f 2 -d'=')
 ifeq ($(BITS),64)
   64BIT:=yes
 else
   64BIT:=no
 endif
+ifneq ($(ARCH),hurd-i386)
+  FAKETIME:=faketime "`dpkg-parsechangelog -S date`" 
+endif
 
 %:
        dh $@ --parallel --with python2
@@ -37,7 +41,7 @@
        rm -rf gtpython/build
 
 override_dh_auto_build:
-       faketime "`dpkg-parsechangelog -S date`" dh_auto_build --parallel -- 
useshared=yes 64bit=$(64BIT) errorcheck=no all docs manuals
+       $(FAKETIME) dh_auto_build --parallel -- useshared=yes 64bit=$(64BIT) 
errorcheck=no all docs manuals
 
 override_dh_auto_test:
        bin/gt -test


_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to