aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2011-10-17 18:37:02 -0500
committerJack Nagel2011-10-17 18:37:02 -0500
commit7c8f42634f5888780a3ee6bb9fec76852720f086 (patch)
treea8f91455a73c422333397237a22bfdda6bb0434f /Library/Formula
parentcdcccb0577dce3ba3cb2311282c3408365a3e3c9 (diff)
downloadhomebrew-7c8f42634f5888780a3ee6bb9fec76852720f086.tar.bz2
libdnet: fix shared library extension
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libdnet.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/libdnet.rb b/Library/Formula/libdnet.rb
index 341b10e6b..2d75459a6 100644
--- a/Library/Formula/libdnet.rb
+++ b/Library/Formula/libdnet.rb
@@ -6,6 +6,13 @@ class Libdnet < Formula
md5 '9253ef6de1b5e28e9c9a62b882e44cc9'
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"
+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"