-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rebuild formula for linux and use python3 var instead of hard coded name
Closes #516. Signed-off-by: Chris <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,6 @@ class Coin3dPy310 < Formula | |
depends_on "cmake" => :build | ||
depends_on "doxygen" => :build | ||
depends_on "freecad/freecad/[email protected]" => :build | ||
depends_on "ninja" => :build | ||
depends_on "boost" | ||
depends_on "freecad/freecad/[email protected]_py310" | ||
depends_on "[email protected]" | ||
|
@@ -51,12 +50,11 @@ def python3 | |
|
||
def install | ||
system "cmake", "-S", ".", "-B", "_build", | ||
"-DCOIN_BUILD_MAC_FRAMEWORK=OFF", | ||
"-DCOIN_BUILD_DOCUMENTATION=ON", | ||
"-DCOIN_BUILD_TESTS=OFF", | ||
"-DCMAKE_CXX_STANDARD=11", | ||
"-L", | ||
*std_cmake_args | ||
"-DCOIN_BUILD_DOCUMENTATION=ON", | ||
"-DCOIN_BUILD_DOCUMENTATION_MAN=ON", | ||
"-DCMAKE_INSTALL_PREFIX=#{prefix}", | ||
"-L" | ||
system "cmake", "--build", "_build" | ||
system "cmake", "--install", "_build" | ||
|
||
|
@@ -86,7 +84,8 @@ def caveats | |
<<~EOS | ||
this formula is keg-only, and intended to aid in the building of freecad | ||
this formula should NOT be linked using `brew link` or else errors will | ||
arise when opening the python3.10 repl | ||
arise when opening the #{python3} repl | ||
the test in this formula will fail in a screen (GUI) can not be accessed | ||
EOS | ||
end | ||
|
||
|