plplot: add fix for CMake 3.7.x
This commit is contained in:
parent
421ed9535f
commit
b684e9db5a
1 changed files with 8 additions and 1 deletions
|
@ -24,12 +24,19 @@ class Plplot < Formula
|
|||
# Patches taken upstream
|
||||
# https://sourceforge.net/p/plplot/plplot/ci/11c496bebb2d23f86812c753e60e7a5b8bbfb0a0/
|
||||
# https://sourceforge.net/p/plplot/plplot/ci/cac0198537a260fcb413f7d97301979c2dfaa31c/
|
||||
# Remove when next release is made available
|
||||
# Remove both when next release is made available
|
||||
# CMake 3.6.x fix
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/9d49869e/plplot/cmake-3.6.patch"
|
||||
sha256 "50b17ff7c80f24288f9eaeca256be0d9dd449e1f59cb933f442c8ecf812f999f"
|
||||
end
|
||||
|
||||
# CMake 3.7.x fix
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/b90fdc8f9a17f291bf3f2a33c25ffcc7ea85b31f/plplot/cmake-3.7.patch"
|
||||
sha256 "5c6cd338ca93637e5a4be5c0b3d479ca3211f1ebb456a1b51896b823d69fb992"
|
||||
end
|
||||
|
||||
def install
|
||||
args = std_cmake_args
|
||||
args << "-DENABLE_java=OFF" if build.without? "java"
|
||||
|
|
Loading…
Reference in a new issue