librsync: make universal optional
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
79fef9f5c0
commit
09b9e466bf
1 changed files with 3 additions and 1 deletions
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue