aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-06-03 17:04:55 -0500
committerJack Nagel2014-06-03 17:06:09 -0500
commit14fbeda140949baf3d91ab3f1343e1134bae473f (patch)
tree6f5a2edafcebab1a43a3016e653c70706edb28ee
parentbe34fbb6eb43f26455b36f1770ce26674f08ee81 (diff)
downloadhomebrew-14fbeda140949baf3d91ab3f1343e1134bae473f.tar.bz2
hexchat: don't use pkg_version
-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"