ice: cleanup python usage.
This commit is contained in:
parent
49310bcb67
commit
939fe12a2e
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue