Skip to content

Commit

Permalink
tcl-tk: fix missing pkg-config build dependency.
Browse files Browse the repository at this point in the history
When configuring tcl-tk --with-x11, pkg-config should be listed as a
dependency so the configure script can find Xft2 and fontconfig.
  • Loading branch information
kenh authored and fxcoudert committed Mar 16, 2017
1 parent 1473082 commit c0f8dd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tcl-tk.rb
Expand Up @@ -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"
Expand Down

0 comments on commit c0f8dd3

Please sign in to comment.