aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ngspice.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ngspice.rb')
-rw-r--r--Library/Formula/ngspice.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ngspice.rb b/Library/Formula/ngspice.rb
index a2ebbd8ee..72d005439 100644
--- a/Library/Formula/ngspice.rb
+++ b/Library/Formula/ngspice.rb
@@ -8,7 +8,7 @@ class Ngspice < Formula
option "with-x", "Build with X support"
option "without-xspice", "Build without x-spice extensions"
- depends_on :x11 if MacOS::X11.installed? or build.with? "x"
+ depends_on :x11 if build.with? "x"
def install
args = %W[