Worked around fresh ImageMagick misfeature with dvi.

svn path=/nixpkgs/trunk/; revision=9475
This commit is contained in:
Michael Raskin 2007-10-19 08:00:38 +00:00
parent 2a59b66914
commit dcb59e3541

View file

@ -10,7 +10,9 @@ stdenv.mkDerivation {
preBuild = "sed -e '/^PREFIX/d' -i Makefile ;
sed -e 's@/bin/bash@/var/run/current-system/sw&@; s@/dev/stdin@/proc/self/fd/0@' -i pidgin-latex-convert.sh;
sed -e 's@^latex.*@& ; if let \$?; then rm /tmp/pidgin-latex-tmp.png; exit 1; fi; @' -i pidgin-latex-convert.sh ; ";
sed -e 's@^latex.*@pdf& ; if let \$?; then rm /tmp/pidgin-latex-tmp.png; exit 1; fi; @' -i pidgin-latex-convert.sh ;
sed -e 's@[.]dvi@.pdf@' -i pidgin-latex-convert.sh;
";
makeFlags="PREFIX=\$(out)";