aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/hexchat.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/hexchat.rb b/Library/Formula/hexchat.rb
index 8f1a92d1f..6bf9f2f4e 100644
--- a/Library/Formula/hexchat.rb
+++ b/Library/Formula/hexchat.rb
@@ -38,7 +38,7 @@ class Hexchat < Formula
--enable-openssl]
if build.with? "python3"
- py_ver = Formula["python3"].pkg_version.to_s[0..2] # e.g "3.4"
+ py_ver = Formula["python3"].version.to_s[0..2] # e.g "3.4"
ENV.append_path "PKG_CONFIG_PATH", "#{HOMEBREW_PREFIX}/Frameworks/Python.framework/Versions/#{py_ver}/lib/pkgconfig/"
args << "--enable-python=python#{py_ver}"
elsif build.with? "python"