Skip to content

Commit

Permalink
libmikmod: style nits
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Mar 17, 2012
1 parent 4e80efa commit a56391a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Library/Formula/libmikmod.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ def options
[[ '--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
Expand Down

0 comments on commit a56391a

Please sign in to comment.