tk: attempt to fix build on darwin
It complained about missing fontconfig symbols. Also fix some white-space.
This commit is contained in:
parent
7be0e37ca2
commit
0feb117c20
@ -1,25 +1,26 @@
|
||||
{ stdenv, fetchurl, pkgconfig, tcl, libXft }:
|
||||
{ stdenv, fetchurl, pkgconfig, tcl, libXft, fontconfig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tk-8.5.15";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tcl/tk8.5.15-src.tar.gz";
|
||||
sha256 = "0grj0k0hljvwiz913pafqibz18fzk9xjxf0nzqrd9zdls036fp41";
|
||||
};
|
||||
|
||||
patches = [ ./different-prefix-with-tcl.patch ];
|
||||
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/wish* $out/bin/wish
|
||||
'';
|
||||
|
||||
|
||||
configureFlags = "--with-tcl=${tcl}/lib";
|
||||
|
||||
|
||||
preConfigure = "cd unix";
|
||||
|
||||
buildInputs = [ pkgconfig tcl libXft ];
|
||||
|
||||
buildInputs = [ pkgconfig tcl libXft ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin fontconfig;
|
||||
|
||||
inherit tcl;
|
||||
|
||||
passthru = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user