Add keg-only reason symbols for Xcode 4.3 and Xcode 5

Closes Homebrew/homebrew#28095.
master
Jack Nagel 2014-04-03 09:11:51 -05:00
parent 26ca7b962d
commit 3dc3c2e190
5 changed files with 5 additions and 13 deletions

View File

@ -13,9 +13,7 @@ class Autoconf < Formula
sha1 "7d31f63e5ddd1bbbf0397b0b70df1ff9e70f998b" => :lion sha1 "7d31f63e5ddd1bbbf0397b0b70df1ff9e70f998b" => :lion
end end
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/autoconf" keg_only :provided_until_xcode43
keg_only "Xcode (up to and including 4.2) provides (a rather old) Autoconf."
end
def install def install
ENV['PERL'] = '/usr/bin/perl' ENV['PERL'] = '/usr/bin/perl'

View File

@ -15,9 +15,7 @@ class Automake < Formula
# Always needs a newer autoconf, even on Snow Leopard. # Always needs a newer autoconf, even on Snow Leopard.
depends_on 'autoconf' => :run depends_on 'autoconf' => :run
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/automake" keg_only :provided_until_xcode43
keg_only "Xcode (up to and including 4.2) provides (a rather old) Automake."
end
def install def install
ENV['PERL'] = '/usr/bin/perl' ENV['PERL'] = '/usr/bin/perl'

View File

@ -5,9 +5,7 @@ class Bsdmake < Formula
url 'http://opensource.apple.com/tarballs/bsdmake/bsdmake-24.tar.gz' url 'http://opensource.apple.com/tarballs/bsdmake/bsdmake-24.tar.gz'
sha1 '9ce3c3fc01e0eb47d82827b1eb227eb371fefd5c' sha1 '9ce3c3fc01e0eb47d82827b1eb227eb371fefd5c'
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/bsdmake" keg_only :provided_until_xcode43
keg_only "Recent versions of OS X no longer provide this tool."
end
# MacPorts patches to make bsdmake play nice with our prefix system # MacPorts patches to make bsdmake play nice with our prefix system
# Also a MacPorts patch to circumvent setrlimit error # Also a MacPorts patch to circumvent setrlimit error

View File

@ -10,7 +10,7 @@ class Cvs < Formula
url 'http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2' url 'http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2'
sha1 '93a8dacc6ff0e723a130835713235863f1f5ada9' sha1 '93a8dacc6ff0e723a130835713235863f1f5ada9'
keg_only "Xcode (< 5.0) provides CVS" if MacOS::Xcode.provides_cvs? keg_only :provided_until_xcode5
{ {
"PR5178707" => "372385b34a346753249a7808e8d5db0a6cadd3ee", "PR5178707" => "372385b34a346753249a7808e8d5db0a6cadd3ee",

View File

@ -16,9 +16,7 @@ class Libtool < Formula
sha1 '6873a7b72e86f369f43125c0e29ae5cdbc2d67c1' => :lion sha1 '6873a7b72e86f369f43125c0e29ae5cdbc2d67c1' => :lion
end end
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/glibtoolize" keg_only :provided_until_xcode43
keg_only "Xcode 4.2 and below provide glibtool."
end
option :universal option :universal