dartsim: remove freeglut dependency

Closes #30092.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Jeongseok Lee 2018-07-14 14:25:41 -07:00 committed by ilovezfs
parent 4fb203e9a0
commit 63a957867d

View file

@ -3,7 +3,7 @@ class Dartsim < Formula
homepage "https://dartsim.github.io/"
url "https://github.com/dartsim/dart/archive/v6.5.0.tar.gz"
sha256 "b4c7f4d800ae5696e6ada04bd91b299f4a5e4ff9e8e07deeed79c6923747e274"
revision 2
revision 3
bottle do
sha256 "b7c4adad128053abce97c8ec8ad1fc1ad0e714a1118944e86054fc9707a660b8" => :high_sierra
@ -19,7 +19,6 @@ class Dartsim < Formula
depends_on "eigen"
depends_on "fcl"
depends_on "flann"
depends_on "freeglut"
depends_on "libccd"
depends_on "nlopt"
depends_on "ode"
@ -31,7 +30,10 @@ class Dartsim < Formula
def install
ENV.cxx11
system "cmake", ".", *std_cmake_args
# Force to link to system GLUT (see: https://cmake.org/Bug/view.php?id=16045)
system "cmake", ".", "-DGLUT_glut_LIBRARY=/System/Library/Frameworks/GLUT.framework",
*std_cmake_args
system "make", "install"
# Avoid revision bumps whenever fcl's or libccd's Cellar paths change