aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmikmod.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/libmikmod.rb b/Library/Formula/libmikmod.rb
index 1355b15ee..17ae81d72 100644
--- a/Library/Formula/libmikmod.rb
+++ b/Library/Formula/libmikmod.rb
@@ -9,17 +9,17 @@ class Libmikmod < Formula
[[ '--with-debug', 'Enable debugging symbols and build without optimization']]
end
- def patches
- # When aclocal is run on configure.in, it is told to use a macro AM_PATH_ESD that
- # only exists if esound is installed. Here CoreAudio is used not esound.
- DATA unless Formula.factory('esound').installed?
- end
-
if MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end
+ # When aclocal is run on configure.in, it is told to use a macro AM_PATH_ESD that
+ # only exists if esound is installed. Here CoreAudio is used not esound.
+ def patches
+ DATA unless Formula.factory('esound').installed?
+ end
+
def install
ENV.no_optimization if ARGV.include? '--with-debug' # leave code unoptimzed 4 debug
ENV['LIBTOOLIZE'] = 'glibtoolize' # system libtoolize for autoreconf