aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-09-02 01:04:12 -0700
committerMike McQuaid2012-09-04 19:44:42 -0700
commit7dcc52b7c9cbed7aaf8ae97d6fa87194e0fbbe94 (patch)
tree0431904ea47b199e610d70cef07763e76d1be268 /Library
parent0f6bbba2aac4e0654ce3aec28e48d484e69ec99d (diff)
downloadhomebrew-7dcc52b7c9cbed7aaf8ae97d6fa87194e0fbbe94.tar.bz2
libmikmod: fix test and X11 dependency.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libmikmod.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/libmikmod.rb b/Library/Formula/libmikmod.rb
index 183ad4239..e7574f31e 100644
--- a/Library/Formula/libmikmod.rb
+++ b/Library/Formula/libmikmod.rb
@@ -5,8 +5,6 @@ class Libmikmod < Formula
url 'http://mikmod.shlomifish.org/files/libmikmod-3.2.0.tar.gz'
sha256 '734c8490bbf9b0c587920b92414dcfa3c2267838a0cdf698d5f1fb6bba8f661e'
- depends_on :x11
-
option 'with-debug', 'Enable debugging symbols'
def install
@@ -27,4 +25,8 @@ class Libmikmod < Formula
system "make install"
end
end
+
+ def test
+ system "#{bin}/libmikmod-config", "--version"
+ end
end