diff options
| author | Thomas Dunton | 2012-09-14 13:11:49 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-14 07:28:00 -0700 |
| commit | f2033339f69403879fe8cc0d28151c745089f686 (patch) | |
| tree | 93a3b7385bff0cfd2e27d4370d40bfc082e32924 /Library/Formula | |
| parent | a71b084821ed62376f335a7a1c2d8f6051c811aa (diff) | |
| download | homebrew-f2033339f69403879fe8cc0d28151c745089f686.tar.bz2 | |
gromacs depends on x11
Gromacs depends on libraries from X11. The build breaks when linking to
libSM.dylib if the X11 dependency is not set.
Closes #14935.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gromacs.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/gromacs.rb b/Library/Formula/gromacs.rb index 6a00020ed..80aca3099 100644 --- a/Library/Formula/gromacs.rb +++ b/Library/Formula/gromacs.rb @@ -7,13 +7,16 @@ class Gromacs < Formula option 'enable-mpi', "Enables MPI support" option 'enable-double',"Enables double precision" + option 'without-x', "Disable the X11 visualizer" + depends_on :x11 unless build.include? 'without-x' depends_on 'fftw' def install args = ["--prefix=#{prefix}"] args << "--enable-mpi" if build.include? 'enable-mpi' args << "--enable-double" if build.include? 'enable-double' + args << "--without-x" if build.include? 'without-x' system "./configure", *args system "make" |
