Bug#400547: ri-li: FTBFS on alpha, mips, mipsel: doesn't build with `sudo'

Cyril Brulebois cyril.brulebois at enst-bretagne.fr
Mon Nov 27 02:27:40 UTC 2006


Package: ri-li
Version: 2.0.0-1
Severity: important
Tags: patch

Hi,

when trying to figure out why ri-li FTBFS on alpha, mips, mipsel, it
turned out to be due to the fact that on these architectures, `sudo' is
used instead of `fakeroot', which allows a correct build on the other
architectures.

Please find attached a tiny patch, which fixes that very easily.

Cheers,

-- 
Cyril Brulebois
-------------- next part --------------
--- ri-li-2.0.0-sudo~/debian/rules	2006-11-27 02:16:07.467740232 +0000
+++ ri-li-2.0.0-sudo/debian/rules	2006-11-27 02:16:20.985685192 +0000
@@ -40,7 +40,7 @@
 	dh_clean -k
 	dh_installdirs
 	dh_installman debian/ri-li.6
-	DESTDIR=$(PWD)/debian/tmp $(MAKE) install
+	DESTDIR=$(CURDIR)/debian/tmp $(MAKE) install
 	mkdir -p debian/tmp/usr/share/pixmaps/
 	cp debian/ri-li.xpm debian/tmp/usr/share/pixmaps/
 	mv debian/tmp/usr/games/Ri_li debian/tmp/usr/games/ri-li


More information about the Pkg-games-devel mailing list