Blind commit trying to fix nvidia cg toolkit on i686-linux

svn path=/nixpkgs/trunk/; revision=32546
This commit is contained in:
Lluís Batlle i Rossell 2012-02-24 20:18:32 +00:00
parent 72450d9b73
commit d1e84a7498

View File

@ -33,10 +33,9 @@ stdenv.mkDerivation rec {
ensureDir "$out/include/"
cp -v -r include/Cg/ "$out/include/"
ensureDir "$out/lib/"
[ "$system" = "x86_64-linux" ] && cp -v lib64/* "$out/lib/"
[ "$system" = "i686-linux" ] && cp -v lib/* "$out/lib/"
for mandir in man1 man3 \
${if stdenv.system == "x86_64-linux" then "manCg" else ""} manCgFX
[ "$system" == "x86_64-linux" ] && cp -v lib64/* "$out/lib/"
[ "$system" == "i686-linux" ] && cp -v lib/* "$out/lib/"
for mandir in man1 man3 manCg manCgFX
do
ensureDir "$out/share/man/$mandir/"
cp -v share/man/$mandir/* "$out/share/man/$mandir/"