From d34c9eebced87d56061403a54bc2d04bfdbeb00b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 2 Sep 2011 17:57:44 -0500 Subject: libidn: build universal libidn is a dependency of the GnuTLS 3.x series, and even though we probably won't move to 3.x anytime soon, it's good to get the dependencies up to snuff and work out any problems that might arise. I also added a test of the executable while I was here. Signed-off-by: Jack Nagel --- Library/Formula/libidn.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/libidn.rb b/Library/Formula/libidn.rb index f0b69582e..04e087bfd 100644 --- a/Library/Formula/libidn.rb +++ b/Library/Formula/libidn.rb @@ -8,9 +8,14 @@ class Libidn < Formula depends_on 'pkg-config' => :build def install + ENV.universal_binary system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-csharp" system "make install" end + + def test + system "#{bin}/idn --version" + end end -- cgit v1.2.3