From 09b9e466bfa3abfb20992297f12242ac1a59411c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 26 Jan 2013 11:57:14 -0600 Subject: [PATCH] librsync: make universal optional Signed-off-by: Jack Nagel --- Formula/librsync.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Formula/librsync.rb b/Formula/librsync.rb index 05f0aa3fc2..9fb8f391fd 100644 --- a/Formula/librsync.rb +++ b/Formula/librsync.rb @@ -5,6 +5,8 @@ class Librsync < Formula homepage 'http://librsync.sourceforge.net/' sha1 'd575eb5cae7a815798220c3afeff5649d3e8b4ab' + option :universal + def patches # fixes librsync doesn't correctly export inlined functions: # http://trac.macports.org/ticket/31742 @@ -14,7 +16,7 @@ class Librsync < Formula end def install - ENV.universal_binary + ENV.universal_binary if build.universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}",