aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmikmod.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-17 12:27:45 -0700
committerAdam Vandenberg2012-03-17 12:27:45 -0700
commita56391a73eeea2f98326f96f1044b82ddecd743f (patch)
tree9cbdaf6fa5bb66fbfd5fe139ed8a4495b75e3ee3 /Library/Formula/libmikmod.rb
parent4e80efa255f38ceb1e0fca10dbdd2146a0025be0 (diff)
downloadhomebrew-a56391a73eeea2f98326f96f1044b82ddecd743f.tar.bz2
libmikmod: style nits
Diffstat (limited to 'Library/Formula/libmikmod.rb')
-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