3
0
Fork 0
forked from mirrors/nixpkgs

* Referring to stdenv.coreutils breaks on FreeBSD.

svn path=/nixpkgs/trunk/; revision=11463
This commit is contained in:
Eelco Dolstra 2008-04-04 18:24:41 +00:00
parent afc76c65c6
commit 6fa8de41fa

View file

@ -17,8 +17,9 @@ stdenv.mkDerivation {
# substituteInPlace exp_inter.c --replace tcl.h tclInt.h
#'';
coreutils = stdenv.coreutils;
patchPhase = '' sed -i "s@/bin/stty@$coreutils/bin/stty@" configure '';
patchPhase = ''
substituteInPlace configure --replace /bin/stty "$(type -tP stty)"
'';
configureFlags = "--with-tcl=${tcl}/lib --with-tclinclude=${tcl}/include";