2125 Commits

Author SHA1 Message Date
Adam Vandenberg
07adef4954 ENV.cxx was not retrieving proper ENV flag. 2010-02-08 14:23:01 -08:00
Ben Bleything
e4b60cd3cd remove the nonexistant list --brewed flag from the help output.
Resolves mxcl/homebrew#158.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-01-29 23:48:46 -08:00
Max Howell
3bf6c5f9c9 Document brew cleanup 2010-01-18 08:36:10 +00:00
Florian Sowade
056851463e Added CMAKE_PREFIX_PATH to environment valriables
CMake ignores the CPPFLAGS and LDFLAGS environment variables. This makes sure CMake finds libraries when homebrew is not installed at /usr/local.

Signed-off-by: Max Howell <max@methylblue.com>

Fixes Homebrew/homebrew#242
2010-01-14 09:41:06 +00:00
Max Howell
2037b2373a Use less lengthy path to llvm binaries 2010-01-13 11:23:15 +00:00
Adam Vandenberg
24b6e9c721 Detect X11 when ENV.x11 is requested; dump in --config. 2010-01-11 11:36:35 -08:00
Max Howell
89479912ec Use full path to du
Fixes Homebrew/homebrew#354
2010-01-06 21:02:36 +00:00
Max Howell
6bd1741d7d Pathname.md5 method 2009-12-30 20:49:16 +00:00
Adam Vandenberg
a3f448a3e2 Also match -source tarballs. 2009-12-17 19:19:33 +00:00
Max Howell
95eb1b4a5d Remove redundant cflags
-fomit-frame-pointer is included for any optimisation level above O2 (including Os)

Setting MACOS_DEPLOYMENT_TARGET is unecessary if you are just setting it the same as the OS X you are running.
2009-12-02 12:17:14 +00:00
Max Howell
a687871ae1 Alias gcc_4_0_1 to gcc_4_0
This is what we did for gcc_4_2 after all.
2009-12-02 10:39:06 +00:00
Max Howell
e1690dd4aa When not installed to /usr/local use -isystem
This means our include directory is prioritised above all -I but after all other system directories. This is how it should be.

Also helps fix Homebrew/homebrew#113.
2009-12-01 12:07:34 +00:00
Max Howell
590f64e302 Don't error out if .DS_Store is in a keg 2009-11-09 17:55:06 +00:00
Max Howell
2dc17b19f4 List --HEAD/-H in brew usage 2009-11-08 15:21:14 +00:00
Max Howell
7ec2874746 Fix ENV.m32 when LDFLAGS already exists 2009-11-07 18:22:34 +00:00
Max Howell
8f46b32d26 Raise if ARGV.next is out of bounds 2009-11-07 18:22:33 +00:00
Max Howell
78d7cbc812 Slightly better ARGV.usage for contribution 2009-11-07 18:22:33 +00:00
Max Howell
8081a95c4a Better errors if missing keg or formula arguments 2009-11-07 18:22:33 +00:00
Max Howell
03ca3e24d0 Don't throw if named.empty?
Generally this isn't desired or useful.
2009-11-07 18:22:33 +00:00
Max Howell
0cc45884bb Fixes Homebrew/homebrew#106; Don't downcase ARGV.named 2009-11-04 16:27:37 +00:00
Max Howell
03f37bef79 ENV.m32 2009-10-23 19:20:16 +01:00
Max Howell
6de6bffd55 ENV.osx_10_5 2009-10-23 19:20:16 +01:00
Adam Vandenberg
e1d82cde79 Add separator param to ENV.append (to match prepend.) 2009-10-21 11:50:37 -07:00
Max Howell
595dbc5710 ENV.universal_binary
Note, we still don't support PPC, this builds a 32 bit, 64 bit binary.
2009-10-19 13:48:33 +01:00
Max Howell
543a113712 Some subdirs and renames to aid homebrew n00bs
The classes better reflect their contents. I'm sure this change may be
contentious, but I am a sucker for trying to create source bases that are easy
to get to grips with and easy to navigate.

brewkit.rb is now a deprecated file.
2009-10-15 16:51:53 +01:00