3
0
Fork 0
forked from mirrors/nixpkgs

* Remove makeFlags/installFlags redundancy.

svn path=/nixpkgs/trunk/; revision=7501
This commit is contained in:
Eelco Dolstra 2006-12-27 18:26:23 +00:00
parent bbe62e266b
commit cd32e67b2b
3 changed files with 1 additions and 4 deletions

View file

@ -8,6 +8,4 @@ preBuild() {
makeFlagsArray=(V=1 prefix=$out SHLIBDIR=$out/lib)
installFlagsArray=("${makeFlagsArray[@]}")
genericBuild

View file

@ -7,5 +7,5 @@ stdenv.mkDerivation {
md5 = "7360ce47b5ec3f9fa71f18071ecb8b97";
};
preBuild = "makeFlagsArray=(etcdir=$out/etc sbindir=$out/sbin usrbindir=$out/bin usrsbindir=$out/sbin mandir=$out/share/man INSTALL='install -c')";
preInstall = "installFlagsArray=(\"\${makeFlagsArray[@]}\" udevdir=dummy)";
preInstall = "installFlagsArray=(udevdir=dummy)";
}

View file

@ -12,7 +12,6 @@ stdenv.mkDerivation {
preBuild = "
makeFlagsArray=(usrbinexecdir=$out/bin usrsbinexecdir=$out/sbin datadir=$out/share exampledir=$out/share/getopt)
installFlagsArray=(\"\${makeFlagsArray[@]}\")
";
# Hack to get static builds to work.