From 9215fab34e8d6bff0d87da18b74b77a552080744 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 17 Oct 2011 18:37:02 -0500 Subject: [PATCH] libdnet: fix shared library extension Signed-off-by: Jack Nagel --- Formula/libdnet.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Formula/libdnet.rb b/Formula/libdnet.rb index 341b10e6b2..2d75459a60 100644 --- a/Formula/libdnet.rb +++ b/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}"