Skip to content

Commit

Permalink
gpsbabel: improve argument handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Sep 13, 2013
1 parent 92a6c43 commit d9f026c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Formula/gpsbabel.rb
Expand Up @@ -11,7 +11,10 @@ class Gpsbabel < Formula
depends_on 'libusb' => :optional

def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
args = ['--disable-debug', '--disable-dependency-tracking',
"--prefix=#{prefix}", '--with-zlib=system']
args << '--without-libusb' if build.without? 'libusb'
system "./configure", *args
system 'make', 'install'
end
end

0 comments on commit d9f026c

Please sign in to comment.