3
0
Fork 0
forked from mirrors/nixpkgs

GNU Hurd: Use preConfigure' to autoreconf' only.

svn path=/nixpkgs/trunk/; revision=33835
This commit is contained in:
Ludovic Courtès 2012-04-18 18:42:44 +00:00
parent 61bb81195f
commit 40675e46bd

View file

@ -40,10 +40,12 @@ stdenv.mkDerivation ({
then [ "--with-parted" ]
else [ "--without-parted" ]);
preConfigure =
'' autoreconf -vfi
# Use `preConfigure' only for `autoreconf', so that users know they can
# simply clear it when the autoconf phase is unneeded.
preConfigure = "autoreconf -vfi";
echo "removing \`-o root' from makefiles..."
postConfigure =
'' echo "removing \`-o root' from makefiles..."
for mf in {utils,daemons}/Makefile
do
sed -i "$mf" -e's/-o root//g'