[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#756638: xastir: build-stamp is running twice during the build process



Package: xastir
Version: 2.0.4-1
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

During the build of xastir, the build-stamp rule runs twice, which causes the
same process to find some problems, mainly when applying the dh-autoreconf
patch (dh-autoreconf will run twice which is not correct and break the build).

This patch simple avoids the build-stamp to run twice, create a file that check
that the rule was already run.

Thank you,
Breno
Index: xastir-2.0.4/debian/rules
===================================================================
--- xastir-2.0.4.orig/debian/rules
+++ xastir-2.0.4/debian/rules
@@ -13,10 +13,12 @@ build-stamp:
 	CFLAGS="-I/usr/include/geotiff $(shell GraphicsMagick-config --cflags)" ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
 	$(MAKE)
 	touch build
+	touch build-stamp
 
 clean:
 	dh_testdir
 	-rm -f build
+	-rm -f build-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
 	-rm -f src/callpass/Makefile
 	-rm -f config.log config.cache summary.log

Reply to: