From 7dcc52b7c9cbed7aaf8ae97d6fa87194e0fbbe94 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Sep 2012 01:04:12 -0700 Subject: libmikmod: fix test and X11 dependency. --- Library/Formula/libmikmod.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3