ruby-1.9: disable tk when compiling on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-06-18 13:19:36 +10:00
parent 88eff1efac
commit 02eef5b0f4
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
patches = [ ./ruby19-parallel-install.patch ]; patches = [ ./ruby19-parallel-install.patch ];
configureFlags = ["--enable-shared" "--enable-pthread"]; configureFlags = [ "--enable-shared" "--enable-pthread" ]
# on darwin, we have /usr/include/tk.h -- so the configure script detects
# that tk is installed
++ ( if stdenv.isDarwin then [ "--with-out-ext=tk " ] else [ ]);
installFlags = stdenv.lib.optionalString docSupport "install-doc"; installFlags = stdenv.lib.optionalString docSupport "install-doc";
# Bundler tries to create this directory # Bundler tries to create this directory