GNU Hurd: Don't try to install files as `root'.

svn path=/nixpkgs/trunk/; revision=21915
This commit is contained in:
Ludovic Courtès 2010-05-20 11:54:37 +00:00
parent 430b98a7c1
commit 620870eb0d

View File

@ -33,6 +33,14 @@ stdenv.mkDerivation ({
preConfigure = "autoreconf -vfi"; preConfigure = "autoreconf -vfi";
patchPhase =
'' echo "removing \`-o root' from makefiles..."
for mf in {utils,daemons}/Makefile
do
sed -i "$mf" -e's/-o root//g'
done
'';
buildPhase = "make ${buildTarget}"; buildPhase = "make ${buildTarget}";
installPhase = "make ${installTarget}"; installPhase = "make ${installTarget}";