aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/python.rb2
-rw-r--r--Library/Formula/python3.rb3
-rw-r--r--Library/Formula/sfml.rb2
3 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index c969c8e04..c9edf4f1e 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -69,7 +69,7 @@ class Python < Formula
--enable-ipv6
--datarootdir=#{share}
--datadir=#{share}
- --enable-framework=#{prefix}/Frameworks
+ --enable-framework=#{frameworks}
]
args << '--without-gcc' if ENV.compiler == :clang
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 113a883e0..767311eba 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -60,7 +60,8 @@ class Python3 < Formula
--enable-ipv6
--datarootdir=#{share}
--datadir=#{share}
- --enable-framework=#{prefix}/Frameworks]
+ --enable-framework=#{frameworks}
+ ]
args << '--without-gcc' if ENV.compiler == :clang
diff --git a/Library/Formula/sfml.rb b/Library/Formula/sfml.rb
index b971ba26a..e1f011509 100644
--- a/Library/Formula/sfml.rb
+++ b/Library/Formula/sfml.rb
@@ -12,7 +12,7 @@ class Sfml < Formula
depends_on "libsndfile"
def install
- system "cmake", ".", "-DCMAKE_INSTALL_FRAMEWORK_PREFIX=#{prefix}/Frameworks/", *std_cmake_args
+ system "cmake", ".", "-DCMAKE_INSTALL_FRAMEWORK_PREFIX=#{frameworks}/", *std_cmake_args
system "make", "install"
end
end