GNU Hurd: Don't try to install files as `root'.
svn path=/nixpkgs/trunk/; revision=21915
This commit is contained in:
parent
430b98a7c1
commit
620870eb0d
@ -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}";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user