Commit graph

13 commits

Author SHA1 Message Date
Max Howell
50760c018f Use new instance var syntax in example formula 2009-09-24 18:49:32 +01:00
Max Howell
a92d3516dc Git 1.6.4.4 2009-09-17 22:01:27 +01:00
Max Howell
4144ff5875 Fix some "GCC cannot create executables"
This regards Issue Homebrew/homebrew#30.

Turns out -march=native isn't supported by Apple's GCC, but while investigating it I found they'd back ported the -march=core2 option, so we win anyway.

Logic reverted to how it was yesterday.

I moved the gcc options stuff back to brewkit.rb as we manipulate the cflags more later and it seemed bad form to split the logic for this area over two files.

Additionally the brew command exits immediately on powerpc now. Brewkit doesn't throw as theoretically it is a useful library file for other projects.
2009-09-03 22:39:49 +01:00
Max Howell
33844d7ccf Git 1.6.4.2 2009-08-30 17:07:31 +01:00
Max Howell
8956290274 Full ImageMagick install
I used the imagemagick-installer script that made the rounds on Twitter lately as a basis.

But a number of improvements, eg. lets not mess around with the OS X installation of cups.
2009-08-30 16:12:46 +01:00
Adam Vandenberg
af881c407f Bump Git to version 1.6.4.1 2009-08-29 13:37:52 +01:00
Max Howell
c81d5b6ca6 Refactor
Large refactor to Formula, mostly improving reliability and error handling but
also layout and readability.

General improvements so testing can be more complete.

Patches are automatically downloaded and applied for Formula that return a
list of urls from Formula::patches.

Split out the brew command logic to facilitate testing.

Facility from Adam Vandenberg to allow selective cleaning of files, added
because Python doesn't work when stripped.
2009-08-10 18:11:17 +01:00
Max Howell
6a1082617e Only hardlink git to the other bits if they are indeed the same files 2009-08-06 20:25:59 +01:00
Max Howell
4b4ee4ce60 Git 1.6.4 2009-07-31 00:32:42 +01:00
Max Howell
819c9d54de Fix hard link dissociation bug
strip unlinks the file first, breaking hard links, so we detect instances where we are about to strip a file with many linkages and prevent it.

This fixes the libexec non executable bug in the git package.

Took me a long time to figure out what was wrong! :P
2009-07-22 20:28:42 +01:00
Max Howell
8d275a2e6e Make git formula work again 2009-07-10 00:36:59 +01:00
Max Howell
93112b88e6 Refactor class heirarchy 2009-06-05 23:39:56 +01:00
Max Howell
97b1ada08d Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library.

This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.
2009-06-04 19:36:58 +01:00