diff --git a/Formula/gucharmap.rb b/Formula/gucharmap.rb index 5cdc6d847a..0bc6a9c65a 100644 --- a/Formula/gucharmap.rb +++ b/Formula/gucharmap.rb @@ -15,11 +15,14 @@ class Gucharmap < Formula depends_on "intltool" => :build depends_on "itstool" => :build depends_on "pkg-config" => :build + depends_on "python" => :build depends_on "gtk+3" def install + xy = Language::Python.major_minor_version "python3" + ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python#{xy}/site-packages" ENV["WGET"] = "curl" - ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python2.7/site-packages" + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--disable-silent-rules",