5541 Commits

Author SHA1 Message Date
Jack Nagel
4cb824b92e Allow changing the optimization level under superenv 2013-11-12 13:53:29 -06:00
Jack Nagel
c7b7fdf0ca Simplify ENV.0x methods in stdenv 2013-11-12 13:53:29 -06:00
Jack Nagel
0b793e321e Add ENV.O0 to stdenv 2013-11-12 13:53:29 -06:00
Jack Nagel
74673633c0 Extract optflags method from cflags method 2013-11-12 13:53:29 -06:00
Jack Nagel
16d2429703 Extract archflags method from cflags method 2013-11-12 13:53:29 -06:00
Jack Nagel
8b7ddc1fed XQuartz 2.7.5 released
Closes Homebrew/homebrew#24173.
2013-11-12 10:12:41 -06:00
Mike McQuaid
be3e60fc95 inreplace: odie for Homebrew developers. 2013-11-12 15:44:30 +00:00
Adam Vandenberg
81bf8a168a audit generic binary names
Binaries with names like 'run' or 'service' are likely to conflict.
Warn about these and suggest a libexec-style install instead.
2013-11-12 07:10:13 -08:00
Mike McQuaid
e08ec21abe bottle: always use HOMEBREW_REPOSITORY. 2013-11-12 11:29:50 +00:00
Jack Nagel
83cbb1e3fb Group public ENV methods together 2013-11-11 18:34:15 -06:00
Jack Nagel
c95c32fbb0 Remove outdated comment 2013-11-11 18:32:56 -06:00
Mike McQuaid
39d3cfd6ae info: fix on non-tty terminals.
References Homebrew/homebrew#18922.
Closes Homebrew/homebrew#24188.
Closes Homebrew/homebrew#24190.
2013-11-11 22:15:24 +00:00
Jack Nagel
9dd2f1a2c3 Fix Apache download strategy in verbose mode
A better fix would be to rewrite the curl method to yield its output,
but I don't feel like doing that right now.
2013-11-11 12:36:14 -06:00
Jack Nagel
e22ad69f00 Only pass cflags during configure and make
Fixes Homebrew/homebrew#24172.
2013-11-11 12:15:57 -06:00
Mike McQuaid
6af4ab44c6 exceptions: improve tap error message.
Point users to the tap's issue tracker URL.
2013-11-11 18:09:02 +00:00
Colin Dean
8939857600 info: decorate deps to show installed status?
* shows green tick if installed or red cross if not
* only highlight dependency if HOMEBREW_NO_EMOJI is set

Closes Homebrew/homebrew#18922.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-11 14:15:46 +00:00
Mike McQuaid
f81ee0320b brew-bundle: general cleanup. 2013-11-11 14:07:37 +00:00
ChristianBundy
6f8692ba4d brew-bundle: add new command to support Brewfiles.
Closes Homebrew/homebrew#24107.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-11 14:07:24 +00:00
Mike McQuaid
e8bb8e3727 SUPPORTERS: add very late URL. 2013-11-11 10:03:08 +00:00
Jack Nagel
42b54150af Pass optimization and arch flags during configure
Closes Homebrew/homebrew#24106.
2013-11-10 18:25:33 -06:00
Jack Nagel
43baf49ff1 Extract cxxflags method from cflags method 2013-11-10 18:24:49 -06:00
Adam Vandenberg
7e2979707c document --devel|--HEAD for uses 2013-11-10 11:08:57 -08:00
Jack Nagel
4cbaeb6d61 Clarify XQuartz warning
Closes Homebrew/homebrew#24094.
2013-11-09 19:04:46 -06:00
Bulat Shakirzyanov
1f1678a1d5 superenv: fix versioned g++ invocations.
Closes Homebrew/homebrew#24104.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-09 09:56:37 +00:00
Jack Nagel
e7f20bcfbc superenv: fix type error
This is a string since it is used to match string keys in a hash.
2013-11-08 23:15:12 -06:00
Mike McQuaid
90c696ea67 xcode: fix nil outdated comparison. 2013-11-08 09:54:25 +00:00
Jack Nagel
8aa42e5bf1 HOMEBREW_USE variables are no longer honored, ignore them 2013-11-07 14:38:49 -06:00
Jack Nagel
17b59fcee0 Display only HOMEBREW_CC/CXX in brew --env under superenv
The other values will be identical.
2013-11-07 14:38:43 -06:00
Mike McQuaid
8484e72f75 superenv: set cc/cxx based on actual compiler.
Closes Homebrew/homebrew#23449.
2013-11-07 12:06:03 +00:00
Mike McQuaid
f426fdd4fb superenv: add shims for gcc4.{3-9}. 2013-11-07 12:04:59 +00:00
Mike McQuaid
4589a6a071 tap_migrations: grads to homebrew/binary. 2013-11-07 10:40:29 +00:00
Mike McQuaid
1d0515c1d3 resource: only unpack to target if it exists. 2013-11-06 18:34:08 +00:00
Jack Nagel
5863a72625 Make sure 10.9 users upgrade XQuartz 2013-11-06 09:48:18 -06:00
William Entriken
0f87351a0e doctor: quoting fix
The one liner should put `#{HOMEBREW_PREFIX}/bin:$PATH` into bash profile.
Previously it was being interpreted by the shell before being put in bash profile.

Closes Homebrew/homebrew#24008.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-06 06:29:36 -08:00
Jack Nagel
f580e9271b Revert "Make sure 10.9 users upgrade XQuartz"
This causes CI builds on 10.9 to fail; will repush once it is updated.

This reverts commit 70c5ce09d995426aefdbfd4aba0b06efe100a433.
2013-11-05 22:53:22 -06:00
Jack Nagel
82d6e2cf8a Make sure 10.9 users upgrade XQuartz 2013-11-05 22:34:20 -06:00
Jack Nagel
466cc33bf3 Add pkgutil version for XQuartz 2.7.5_rc4 2013-11-05 22:32:42 -06:00
Jack Nagel
a82276b2cb Add Xcode 5.0.2 to compiler map
Fixes Homebrew/homebrew#24018.
2013-11-05 22:19:33 -06:00
Jack Nagel
e470010f2e Add git.sv.gnu.org repositories to shallow-clone whitelist 2013-11-05 22:06:20 -06:00
Jack Nagel
0c523da706 Dependency: tighten equality check 2013-11-05 16:02:26 -06:00
Jack Nagel
6c3ee52d14 Remove special cases in build-time dep audit
Closes Homebrew/homebrew#23931.
2013-11-04 12:10:26 -06:00
Jack Nagel
c556b3dc09 Add explicit "run" dependency tag 2013-11-04 12:00:06 -06:00
Jack Nagel
06dbec5aaf Disable make_fuss when running configure invoked by make
The cc wrapper's make_fuss is only enabled when HOMEBREW_CCCFG contains
'O', which is set by the make wrapper. This means it is disable when
running configure scripts. However, this does not include configure
scripts invoked by make, which inherit the value of HOMEBREW_CCCFG from
the make process. make_fuss will be enabled for these scripts, cause
breakage.

Configure scripts generated by autoconf 2.56 (November 2002) or later
export DUALCASE into the environment of subprocesses. This variable is
only used by the MKS shell, so we can use it as a heuristic to determine
if we are running as a subprocess of a configure script.
2013-11-04 11:02:18 -06:00
Misty De Meo
f643b84dc4 Doctor: fix check_access_logs
Fixes Homebrew/homebrew#23936.
2013-11-03 18:51:22 -08:00
Jack Nagel
b1d78cf642 Move superenv make_fuss output back to stderr
In 6e3a585607116d06f47aac2ff5a649f2898216f0 ("Improve superenv
add/remove message."), more debugging information was added to the
"make_fuss" output generated by the superenv compiler
wrapper.

This resulted in some breakage in configure scripts that inspect stderr,
so in e1bd9b9e980c433878e60833f09964b8ca996657 ("Don't use stderr for
make_fuss output."), the output was moved to stdout. This only appeared
to solve the problem, since stdout is buffered but stderr is not.

Later, in fb749e47509b77b5bd89e7b14f0a1097d4af7f40, Homebrew started
generating logs even in verbose mode. This had the side effect of moving
stdout/stderr from a TTY to a pipe, and thus stdout was no longer
line-buffered.

Since it was not line-buffered, and Ruby's internal buffers were not
flushed, the debug output was being lost. This was addressed in
2d5724af8613c820b8c14f4171fe1de6a17f10c3 ("cc: ensure wrapper output is
always flushed").

This caused stdout to be flushed during configure, which resurfaced the
original bug that prompted e1bd9b9e980c433878e60833f09964b8ca996657.
This was fixed by disabling the debug output during configure, in
f1779837a46a58520560fba3850a0e2992284d0a.

Since the original bug has been addressed in a more robust way, we can
move the debug output back to stderr.

Fixes Homebrew/homebrew#23923.
2013-11-03 20:19:54 -06:00
Jack Nagel
faa77e8283 Remove --use-gcc and friends from completion scripts 2013-11-03 11:48:09 -06:00
Jack Nagel
4e2c45f5d1 Undocument --use-gcc and friends
These options are deprecated in favor of --cc=<compiler>, so there is no
need to continue advertising their existence.
2013-11-03 11:48:09 -06:00
Jack Nagel
a2d9271bda Remove intermediate exception in Formula#system
Now that ErrorDuringExecution is only raised in one place, we can just
raise the BuildError directly instead.
2013-11-02 22:52:24 -05:00
Jack Nagel
aafae73cf9 Fix regression in brew deps
The default mode is intended to display recursive dependencies, with the
`--1` flag to display only one level.
2013-11-02 22:22:45 -05:00
Xiyue Deng
917b94df98 Add cxxstdlib_check method to request changing C++ stdlib checking.
* In certain cases, a C++ software may result in linking to a different
  and incompatible C++ standard library than its dependencies and still
  works fine because it is by design. Examples include GCC, which will
  bootstrap itself and self-host after finish.

* Add a cxxstdlib_check method to formula to request changing the C++
  standard library checking. Currently using "cxxstdlib_check :skip"
  will let a formula skip such checking. This should only be used on
  rare occasions and be very careful.

Closes Homebrew/homebrew#23687.
2013-11-02 17:30:05 -07:00