Jack Nagel
94ebe8e747
relocate_install_names: rewrite cellar names before prefix names
...
The cellar may overlap with the prefix, so if we replace the prefix
first, we will end up with paths like "@@HOMEBREW_PREFIX@@/Cellar"
instead of "@@HOMEBREW_CELLAR@@", which will break on installations
where the cellar and prefix are disjoint.
2013-12-04 22:37:57 -06:00
Jack Nagel
98cc0b3022
fix_install_names: extract change_dylib_id
2013-12-04 22:37:57 -06:00
Jack Nagel
e7633d876e
fix_install_names: extract change_install_name
2013-12-04 22:37:57 -06:00
Adam Vandenberg
1d31200ad2
loosen FileUtils audit
2013-12-04 20:07:38 -08:00
Jack Nagel
36d3a2dfa8
Homebrew CVS is required for Xcode 5+
2013-12-04 01:19:17 -06:00
Misty De Meo
5537abbe51
Adjust fails_with syntax for non-Apple compilers
...
The old version worked like this:
fails_with :gcc => '4.8.1'
That wasn't really flexible enough, and made it harder to distinguish
different releases in the same GCC series. Since no one was really
using it yet, this adjusts the syntax to be more similar to the
Apple compilers:
fails_with :gcc => '4.8' do
release '4.8.1'
end
Like with Apple compilers, omitting `release` blacklists the entire
series.
This also unifies the `build` and `version` attributes and accessors,
and exposes them under both names.
2013-12-03 22:42:49 -08:00
Jack Nagel
c84f7d0ab2
Revert "Revert "Split bsdmake wrapper out from make wrapper""
...
I think enough time has passed that it is safe to do this now.
This reverts commit 1003161a848970e782633959904ea776dda7e48b.
2013-12-04 00:37:57 -06:00
Jack Nagel
d18a4001b4
Adjust tests for ac1fd380759ebe9aa3fe42465cd5d38b209c32b5
2013-12-03 22:23:14 -06:00
Jack Nagel
65a00e213b
Make CompilerSelectionError an InstallationError
...
Fixes Homebrew/homebrew#19962 .
2013-12-03 22:16:37 -06:00
Jack Nagel
fa5b633650
SubversionDownloadStrategy: handle changed repository URL
...
Fixes Homebrew/homebrew#22159 .
2013-12-03 21:13:02 -06:00
Jack Nagel
94333c64c1
SubversionDownloadStrategy: no need to escape 'svn'
2013-12-03 21:13:02 -06:00
Jack Nagel
6d7a3d7fa4
download_strategy: use clear_cache where appropriate
2013-12-03 10:14:11 -06:00
Jack Nagel
099954499f
Move jscoverage to the boneyard
2013-12-02 16:22:43 -06:00
Jack Nagel
6071e3b54c
Fix tap migrations
...
When a `brew update` pulls down additions to tap_migrations.rb and the
removed formulae in the same update, the migrations will never run,
because tap_migrations.rb is loaded before the update takes place. Fix
this by loading it after the update.
2013-12-02 16:22:40 -06:00
Jack Nagel
690474dd3b
Extract compute_and_install_dependencies
2013-12-02 12:49:58 -06:00
Jack Nagel
b5f83e60f9
Re-check requirements if a bottle installation fails
2013-12-02 12:49:58 -06:00
Jack Nagel
69dcc2592c
Don't mutate deps collection when expanding requirements
...
Fixes Homebrew/homebrew-science#213 .
2013-12-02 12:47:50 -06:00
Jack Nagel
bcfafca56b
Always clear unsatisfied_deps after installation
2013-12-02 12:44:28 -06:00
Jack Nagel
24a853ebe5
unsatisfied_deps cannot be nil
2013-12-02 12:44:28 -06:00
Jack Nagel
2b23c163af
Rename effective_deps to unsatisfied_deps
2013-12-02 12:44:28 -06:00
Jack Nagel
4443a9f2e1
Emit deprecation warning for --use-{gcc,llvm,clang}
...
Closes Homebrew/homebrew#24864 .
2013-12-02 01:17:32 -06:00
Jack Nagel
ea992b02e5
Fix typo
2013-12-02 01:16:50 -06:00
Jack Nagel
98f25e4407
Yielded value is not used
2013-12-02 00:16:48 -06:00
Jack Nagel
4d8e023b7f
Revert "Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX"
...
This reverts commit fdf20dc43971b728520d518f3b6ef0bcb16aeb21.
Closes Homebrew/homebrew#24831 .
Closes Homebrew/homebrew#24780 .
2013-12-01 17:06:56 -06:00
Jack Nagel
4a972e5f41
Ensure cellar path is replace correctly for relocatable bottles
2013-12-01 17:05:02 -06:00
Jack Nagel
d6a94eb452
Skip path replacement when it would be a no-op
2013-12-01 17:05:02 -06:00
Jack Nagel
0224bce9f6
Extract repeated regexp to a method
2013-12-01 17:05:02 -06:00
Adam Vandenberg
4ed9efd995
Move lmutil to homebrew-binary
...
Closes Homebrew/homebrew#24843 .
2013-12-01 13:59:27 -08:00
Mike McQuaid
fe4370cdd0
bottle: make writing commit message more robust.
2013-12-01 10:26:20 -08:00
Jack Nagel
2b8e0c8f79
Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX
2013-11-30 16:44:14 -06:00
Jack Nagel
5a9356a204
Revert "disable :any bottles due to Homebrew/homebrew#24780"
...
This reverts commit 31bab6e52b7ed8c63421b9c647d0592af2ee2635.
2013-11-30 16:35:58 -06:00
Samyak Bhuta
a785a47452
typo
...
Closes Homebrew/homebrew#24803 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-30 10:55:38 -08:00
Adam Vandenberg
9d72738c54
disable :any bottles due to Homebrew/homebrew#24780
2013-11-30 10:47:46 -08:00
Jack Nagel
bac8cce29f
Flush stdout before leaving Formula#system
2013-11-29 21:05:28 -06:00
Jack Nagel
ae1d00e31f
Revert "FormulaInstaller: flush before closing writes."
...
This reverts commit 5ce8f7a3a494e1d8e812369301fd4c4a05a7d9b7.
2013-11-29 21:05:27 -06:00
Adam Vandenberg
268feffae4
support .lz archives
...
Closes Homebrew/homebrew#24775 .
2013-11-29 15:18:49 -08:00
Jack Nagel
06bf1c0f02
Implement MacOS.dev_tools_prefix a different way
...
Avoid producing a dev_tools_path of "//usr/bin".
Fixes Homebrew/homebrew#24751 .
Closes Homebrew/homebrew#24754 .
2013-11-28 19:27:33 -06:00
Adam Vandenberg
acd2bd0738
Move cmucl to homebrew-binary
2013-11-28 12:42:45 -08:00
Adam Vandenberg
0c97642979
Move aimage to boneyard
...
No longer maintained; homepage suggests alternatives.
Closes Homebrew/homebrew#24728 .
2013-11-28 11:56:26 -08:00
Adam Vandenberg
f2568ac637
typo
2013-11-28 11:21:54 -08:00
Jack Nagel
0581532fdc
Require Formula before using it
2013-11-27 17:30:21 -06:00
Jack Nagel
14b19ba3c4
Adjust optimization flags if the CPU does not support SSE4
...
Tentatively fixes Homebrew/homebrew#21778 , Homebrew/homebrew#24363 .
2013-11-27 17:25:27 -06:00
Mike McQuaid
8ba503ebb6
resource: convert unpack target to Pathname.
2013-11-27 13:29:24 +00:00
Mike McQuaid
48e4fbc8d9
Mac: add dev_tools_prefix method.
...
Basically dev_tools_path without the `/usr/bin`.
2013-11-27 08:53:02 +00:00
Mike McQuaid
9773b9e8bf
bottle: write bottle version in commit message.
2013-11-27 08:31:26 +00:00
Jack Nagel
1bab14418c
Add test for 5c1ee9c1aeee00e512919f37d3fa66fcf637e070
2013-11-26 23:31:53 -06:00
Jack Nagel
ea32b5166c
ApacheDownloadStrategy: fall back to specified mirrors
...
Fixes Homebrew/homebrew#24157 .
2013-11-26 22:57:10 -06:00
Jack Nagel
4584407425
Fix parsing of "-I foo" and "-L foo" under superenv
...
Fixes Homebrew/homebrew#24654 .
2013-11-26 21:42:10 -06:00
Jack Nagel
85f424b270
SoftwareSpec: set resource version when missing
...
Closes Homebrew/homebrew#24695 .
2013-11-26 20:35:28 -06:00
Jack Nagel
7ef03c35f7
audit: distinguish between nil and empty versions
2013-11-26 20:35:07 -06:00