libstfl: cleanup python usage.

This commit is contained in:
Mike McQuaid 2014-01-04 13:08:58 +00:00
parent b181c60804
commit 228ed0b92e

View file

@ -28,7 +28,7 @@ class Libstfl < Formula
if build.with? 'python'
# Install into the site-packages in the Cellar (so uninstall works)
inreplace 'python/Makefile.snippet' do |s|
s.change_make_var! "PYTHON_SITEARCH", python.site_packages
s.change_make_var! "PYTHON_SITEARCH", lib/'python2.7/site-packages'
s.gsub! 'lib-dynload/', ''
end
# Fails race condition of test: