aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 13:07:29 +0000
committerMike McQuaid2014-01-04 13:19:47 +0000
commitf8ae69629f71aedb5292eba51d5bc81e6b10e771 (patch)
tree734f7595b04d8c161b188c22d31bf35da4551c67 /Library
parent0f771d1dacc116e27882daf40b30b0370e6000b4 (diff)
downloadhomebrew-f8ae69629f71aedb5292eba51d5bc81e6b10e771.tar.bz2
ice: cleanup python usage.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ice.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/ice.rb b/Library/Formula/ice.rb
index a82f8082a..4a5f20531 100644
--- a/Library/Formula/ice.rb
+++ b/Library/Formula/ice.rb
@@ -36,8 +36,6 @@ class Ice < Formula
OPTIMIZE=yes
]
args << "CXXFLAGS=#{ENV.cflags} -Wall -D_REENTRANT"
- args << "PYTHON_FLAGS=-F#{python.framework} -framework Python"
- args << "PYTHON_LIBS=-F#{python.framework} -framework Python"
# Unset ICE_HOME as it interferes with the build
ENV.delete('ICE_HOME')
@@ -46,8 +44,8 @@ class Ice < Formula
system "make", *args
system "make", "install", *args
end
- args << "install_pythondir=#{python.site_packages}"
- args << "install_libdir=#{python.site_packages}"
+ args << "install_pythondir=#{lib}/python2.7/site-packages"
+ args << "install_libdir=#{lib}/python2.7/site-packages"
cd "py" do
system "make", *args
system "make", "install", *args