Use frameworks helper
This commit is contained in:
parent
875e98540f
commit
720eb43f75
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue