From: Michael R. Crusoe Date: Wed, 4 Dec 2019 20:05:07 +0000 (+0100) Subject: set up a HOME directory X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~123 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1dc1e25c9484588b31f1c756ec26c7330fdf56e6;p=ncbi-blast%2B.git set up a HOME directory --- diff --git a/debian/rules b/debian/rules index 069e83e2..509a77dd 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export HOME=$(CURDIR)/fakehome + NUMJOBS=1 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) @@ -62,6 +64,7 @@ endif override_dh_auto_configure-indep:; override_dh_auto_configure-arch: $(PREBUILT_DATATOOL_EXE) + mkdir -p $(HOME) cd c++ && CONFIG_SHELL=/bin/bash \ ./configure $(DEB_CONFIGURE_EXTRA_FLAGS) \ || (tail -v -n +0 config.log BUILD/status/config.log; exit 1)