Commit Graph
61 Commits
Author SHA1 Message Date
Max Howell 5c8c18870c Fix some "GCC cannot create executables"
This regards Issue #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 e5997bf6d6 Git 1.6.4.2 2009-08-30 17:07:31 +01:00
Max Howell 7f14a9f20a 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 4cfc94c058 Bump Git to version 1.6.4.1 2009-08-29 13:37:52 +01:00
Max Howell 6b6d3699a2 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 1b89593c72 Only hardlink git to the other bits if they are indeed the same files 2009-08-06 20:25:59 +01:00
Max Howell 3a981c6f3b Git 1.6.4 2009-07-31 00:32:42 +01:00
Max Howell 12de180b85 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 1bcba2038c Make git formula work again 2009-07-10 00:36:59 +01:00
Max Howell 0287849779 Refactor class heirarchy 2009-06-05 23:39:56 +01:00
Max Howell e91aeafc82 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