5541 Commits

Author SHA1 Message Date
Jack Nagel
e33c01aab5 libextractor: add runtime dependency on libtool
Fixes Homebrew/homebrew#23306.
2013-10-18 20:14:16 -05:00
Xiyue Deng
3b66a7d4fd Improve superenv add/remove message.
* Now it includes all flags that are added or removed by superenv when
  passing "--verbose" or envvar VERBOSE or HOMEBREW_VERBOSE is set.
2013-10-18 13:11:50 -07:00
Jack Nagel
f2738dbe96 Extract repeated conditional to a method 2013-10-18 13:38:19 -05:00
Jack Nagel
943978a955 Make condition clearer using names 2013-10-18 13:38:18 -05:00
Jack Nagel
273f5b2ddd Merge XQuartz and X11 modules 2013-10-18 13:38:18 -05:00
Jack Nagel
8887fe7606 Move MacOS modules under OS::Mac namespace
Closes Homebrew/homebrew#23138.
2013-10-18 13:38:07 -05:00
Jack Nagel
805472946b Rename MacOS to OS::Mac 2013-10-18 12:56:51 -05:00
Jack Nagel
c511d7d2f4 Add OS.mac? and OS.linux? 2013-10-18 12:56:51 -05:00
Misty De Meo
45e7f0ccb0 Allow older non-Apple GCCs to build things 2013-10-16 18:43:56 -07:00
Jack Nagel
ba06e2504c Don't print multiple deps messages when only installing one dep 2013-10-16 15:34:43 -05:00
Stan
4d086e8394 add pin/unpin to help
Closes Homebrew/homebrew#23267.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-16 06:08:19 -07:00
Mike McQuaid
8b5b220d88 tap: don't print warning for apple-gcc42 failure.
This should be a temporary workaround until we get a grip on some
Mavericks/Xcode 5.0 issues with e.g. ghc and go (stuff in core
that currently needs GCC at runtime). These formulae both have
Clang fixes in development.

Things that needs GCC at compile-time should be booted from core.

References Homebrew/homebrew#22872.
References Homebrew/homebrew-dupes#229
2013-10-16 08:40:41 +01:00
Mike McQuaid
a64e9d4f0a audit: fix go audit problems. 2013-10-16 08:36:32 +01:00
Jack Nagel
e9d608587d Remove audit check for XZ
Any formula with a URL that ends in ".xz" now gets this dependency
automatically, so this check no longer does anything.
2013-10-15 22:56:04 -05:00
Jack Nagel
3df31557c8 Avoid the need to defensively flatten tags array 2013-10-15 13:26:23 -05:00
Jack Nagel
31e0bf61fa Pathname: removed unused method alias 2013-10-14 22:05:30 -05:00
Jack Nagel
5ae32d5a79 Remove pointless assertion 2013-10-14 21:46:52 -05:00
Jack Nagel
d87f1fb5ec Assert on state, not something that didn't happen 2013-10-14 21:46:21 -05:00
Misty De Meo
cb18dedce4 superenv: add gcc-4.0 to superenv 2013-10-13 19:00:33 -07:00
Jack Nagel
bf93748c6a CurlDownloadStrategy: no need to to_s, name should never be nil 2013-10-12 20:19:21 -05:00
Mike McQuaid
fd59925567 brew-test-bot: build --devel if spec exists. 2013-10-12 18:16:15 +01:00
Mike McQuaid
4f3decd528 brew-test-bot: fix fetch options spacing. 2013-10-12 18:16:15 +01:00
Mike McQuaid
cf2a8913c5 git_etc: create etc if it doesn't exist. 2013-10-12 10:54:16 +01:00
Jack Nagel
167017f89a Resource: do not mutate passed-in specs hash 2013-10-11 20:21:41 -05:00
Jack Nagel
40c0ed8a9a SubversionDownloadStrategy: don't mutate URL string 2013-10-11 19:26:14 -05:00
Jack Nagel
284a3716ea CurlDownloadStrategy: dup mirror list before mutating it 2013-10-11 19:14:52 -05:00
Mike McQuaid
28a20b70fc icu4c: add bottle regex. 2013-10-11 08:40:19 +01:00
Jack Nagel
3f0a409ec5 GitDownloadStrategy: remove redundant use of nostdout 2013-10-11 00:21:25 -05:00
Jack Nagel
9705e922e3 GitDownloadStrategy: remove redundant use of :quiet_flag 2013-10-11 00:21:25 -05:00
Jack Nagel
90b1102f1a GitDownloadStrategy: @@git is always a string, so inline it 2013-10-11 00:21:24 -05:00
Jack Nagel
069d5d2dce SubversionDownloadStrategy: @@svn is always a string, so inline it 2013-10-11 00:21:24 -05:00
Jack Nagel
932091f9e0 VCSDownloadStrategy: pull construction of @clone into superclass 2013-10-11 00:21:23 -05:00
Jack Nagel
ed7f8faed2 VCSDownloadStrategy: rename checkout_name to cache_filename 2013-10-11 00:21:23 -05:00
Jack Nagel
dd719e7ca6 Move cached_location up to VCSDownloadStrategy 2013-10-10 11:24:36 -05:00
Jack Nagel
1626282c45 download_strategy: rename @co to @clone for uniformity 2013-10-10 11:24:35 -05:00
Misty De Meo
4a9cf0dd14 CxxStdlib: use f.recursive_dependencies in stdlib check 2013-10-10 09:09:53 -07:00
Misty De Meo
9c84b3799a formula_installer: pass effective_deps to CxxStdlib 2013-10-10 08:51:38 -07:00
Misty De Meo
c24aca4c58 CxxStdlib: don't check buildtime deps
Otherwise it's possible that certain buildtime dependencies, that won't
be linked against, will block a build.

See Homebrew/homebrew#23115.
2013-10-10 08:51:38 -07:00
Mike McQuaid
a6e2245732 git_etc: update based on bottle etc/var changes. 2013-10-10 16:46:47 +01:00
Mike McQuaid
a9764503b2 formula_installer: handle etc/var in bottles.
Copy these files/folders to a .bottle directory under the Cellar for installation
elsewhere at pouring time.

Temporarily disable HOMEBREW_GIT_ETC methods until fixed.
2013-10-10 16:46:47 +01:00
Mike McQuaid
af4247429b formula: add bottle_prefix method. 2013-10-10 16:46:47 +01:00
Mike McQuaid
19852bc47c Pathname: add cp_path_sub method.
This method allows copying a file to a new location by performing a
substitution on the pathname.
2013-10-10 16:46:47 +01:00
Mike McQuaid
caa2f87728 InstallRenamed: don't overwrite etc files; rename.
If an etc file exists on installation instead of overwriting it (or
requiring all the manual checks in formula) simply copy it with the
extension `.default` appended.
2013-10-10 16:46:47 +01:00
Jack Nagel
05a2261877 MercurialDownloadStrategy: avoid creating Formula object just for opt_prefix 2013-10-10 10:31:08 -05:00
Jack Nagel
4a2fc89c46 S3DownloadStrategy: use temporary_path accessor 2013-10-09 21:55:58 -05:00
Jack Nagel
bf1d04f039 Move checkout_name from AbstractDownloadStrategy to VCSDownloadStrategy 2013-10-09 21:41:15 -05:00
Jack Nagel
3cda215881 VCSDownloadStrategy: destructure spec hash more efficiently 2013-10-09 21:41:15 -05:00
Jack Nagel
6c5a9ae0fb Extract a new superclass for VCS-based download strategies 2013-10-09 21:41:15 -05:00
Jack Nagel
e27574b27b SubversionDownloadStrategy: stop mutating revisions hash 2013-10-09 21:41:14 -05:00
Jack Nagel
3d7de0065b download_strategy: style nits 2013-10-09 21:41:14 -05:00