librsync: make universal optional

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2013-01-26 11:57:14 -06:00
parent 79fef9f5c0
commit 09b9e466bf

View file

@ -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}",