From c0f8dd3114007839d1c165d9d8b7d3a054340ac7 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Sun, 16 Oct 2016 01:20:40 -0400 Subject: [PATCH] tcl-tk: fix missing pkg-config build dependency. When configuring tcl-tk --with-x11, pkg-config should be listed as a dependency so the configure script can find Xft2 and fontconfig. --- tcl-tk.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/tcl-tk.rb b/tcl-tk.rb index d7b2424..29a7785 100644 --- a/tcl-tk.rb +++ b/tcl-tk.rb @@ -24,6 +24,7 @@ class TclTk < Formula option "with-x11", "Build X11-based Tk instead of Aqua-based Tk" depends_on :x11 => :optional + depends_on "pkg-config" => :build if build.with? "x11" resource "tk" do url "https://downloads.sourceforge.net/project/tcl/Tcl/8.6.6/tk8.6.6-src.tar.gz"