#! /bin/sh /usr/share/dpatch/dpatch-run ## htmlgen-fakeroot.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: use fakeroot to avoid weird stat/permission problem when ## DP: building under pbuilder. This was preventing most man ## DP: pages from being built. @DPATCH@ diff -urNad grass-6.3~20070922~/include/Make/Html.make grass-6.3~20070922/include/Make/Html.make --- grass-6.3~20071013~/include/Make/Html.make 2007-10-16 09:51:23.000000000 +0200 +++ grass-6.3~20071013/include/Make/Html.make 2007-10-16 10:05:27.000000000 +0200 @@ -34,7 +34,7 @@ GISBASE=$(RUN_GISBASE) \ PATH="$(BIN):$$PATH" \ $(LD_LIBRARY_PATH_VAR)="$(BIN):$(ARCH_LIBDIR):$($(LD_LIBRARY_PATH_VAR))" \ - LC_ALL=C $(1) --html-description < /dev/null | grep -v '\|' > $(PGM).tmp.html ; true + LC_ALL=C fakeroot $(1) --html-description < /dev/null | grep -v '\|' > $(PGM).tmp.html ; true $(HTMLDIR)/$(PGM).html: $(HTMLSRC) if [ "$(HTMLSRC)" != "" ] ; then $(call htmldesc,$<) ; fi