aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libdnet.rb17
1 files changed, 8 insertions, 9 deletions
diff --git a/Library/Formula/libdnet.rb b/Library/Formula/libdnet.rb
index 17d9fcf4b..11e5684bc 100644
--- a/Library/Formula/libdnet.rb
+++ b/Library/Formula/libdnet.rb
@@ -15,16 +15,15 @@ class Libdnet < Formula
end
def install
- # "manual" autoreconf to get '.dylib' extension on shared lib
- system "aclocal --force -I config"
- system "glibtoolize --copy --force"
- system "autoconf --force"
- system "autoheader --force"
- system "automake --add-missing --copy --force-missing"
+ # autoreconf to get '.dylib' extension on shared lib
+ ENV['ACLOCAL'] = 'aclocal -I config'
+ system 'autoreconf', '-ivf'
- args = ["--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--mandir=#{man}"]
+ args = %W[
+ --disable-dependency-tracking
+ --prefix=#{prefix}
+ --mandir=#{man}
+ ]
args << "--with-python" if ARGV.include? "--with-python"
system "./configure", *args
system "make install"