cygwin: tetex patch to make it build on cygwin
This commit is contained in:
parent
ea3748d519
commit
08b5686cd7
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, flex, bison, zlib, libpng, ncurses, ed }:
|
||||
{ stdenv, fetchurl, flex, bison, zlib, libpng, ncurses, ed, automake }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tetex-3.0";
|
||||
|
@ -20,6 +20,10 @@ stdenv.mkDerivation {
|
|||
sed -i 57d texk/kpathsea/c-std.h
|
||||
'';
|
||||
|
||||
preConfigure = if stdenv.isCygwin then ''
|
||||
find ./ -name "config.guess" -exec rm {} \; -exec ln -s ${automake}/share/automake-*/config.guess {} \;
|
||||
'' else null;
|
||||
|
||||
patches = [ ./environment.patch ./getline.patch ./clang.patch ];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
|
Loading…
Reference in New Issue