From a56391a73eeea2f98326f96f1044b82ddecd743f Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 17 Mar 2012 12:27:45 -0700 Subject: libmikmod: style nits --- Library/Formula/libmikmod.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3