The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.
"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.
The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Git can cache credentials used when accessing remotes over HTTP; this
helper provides integration with the OS X keychain.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This release enables gettext i18n, but in the interest of avoiding that
depdendency I have disabled it for the time being (NO_GETTEXT=1). We can
enable it if international users request it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Inadvertently failing to pass the correct library paths to the linker
can cause a build to link against an incorrect version of a library.
Some compilers don't pass the runtime path defined with '-Rpath' to the
linker. With this defined, paths will be passed to the linker with
-Wl,rpath, rather than -R.
Apple's gcc-4.0, gcc-4.2, and llvm-gcc do not complain about -R, but it
is not documented as far as I can tell, and clang complains vocally
about it. As long as they all support the -Wl format, we may as well be
safe.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
I'm not sure if this was every really necessary, but at least in current
git, these things are already hardlinks to the main git binary. From a
non-Homebrew build:
$ ls -i1
53142021 git
53142026 git-cvsserver
53142021 git-receive-pack
53142025 git-shell
53142021 git-upload-archive
53142022 git-upload-pack
53142116 gitk
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The default git PERL_PATH (/usr/bin/perl) can cause build issues for
users with non-system Perl installations, e.g. perlbrew. Setting
PERL_PATH to the Perl in the path should be sufficient.
ClosesHomebrew/homebrew#9152.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This reverts commit 4cfacc4def66d02b55d8b303b85522bf30317c8f.
This causes more problems than it solves.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
In particular, the fix for the "PERL_MM_OPT" bit has been in core git
since git.git@fa57f717cd679fd808845e21d6e51a277b76a15d.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>