libmikmod: style nits

master
Adam Vandenberg 2012-03-17 12:27:45 -07:00
parent 20a89e2fa9
commit 3577b565eb
1 changed files with 6 additions and 6 deletions

View File

@ -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