diff options
| author | Richard Osborn | 2011-08-19 14:59:50 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-08-28 14:25:45 -0500 |
| commit | 8c5f70195b667a70330223ba0219bb2333ee04ae (patch) | |
| tree | d39530bee4ef6cff97f40d9b93cfad0f68a6592d /Library/Formula | |
| parent | 1018edfc663bdac378d55b4a2387836c704e8d18 (diff) | |
| download | homebrew-8c5f70195b667a70330223ba0219bb2333ee04ae.tar.bz2 | |
gnu-prolog: fix build on Lion
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnu-prolog.rb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/gnu-prolog.rb b/Library/Formula/gnu-prolog.rb index 3a650a112..95703bd43 100644 --- a/Library/Formula/gnu-prolog.rb +++ b/Library/Formula/gnu-prolog.rb @@ -7,6 +7,12 @@ class GnuProlog < Formula skip_clean :all + fails_with_llvm + + # Applies fix as seen here: + # http://lists.gnu.org/archive/html/users-prolog/2011-07/msg00013.html + def patches; DATA; end + def install ENV.j1 # make won't run in parallel @@ -17,3 +23,26 @@ class GnuProlog < Formula end end end + +__END__ +diff -rupN a/src/configure b/src/configure +--- a/src/configure 2011-08-19 14:45:19.000000000 -0500 ++++ b/src/configure 2011-08-19 14:47:00.000000000 -0500 +@@ -3700,7 +3700,7 @@ else + fi + AS0=as + case "$host" in +- i*86*darwin10*) ASFLAGS='-arch i686';; ++ i*86*darwin1*) ASFLAGS='-arch i686';; + x86_64*solaris*) AS0=gas; ASFLAGS='--64';; + *) if test "$with_gas" = yes; then AS0=gas; fi;; + esac +@@ -4614,7 +4614,7 @@ else + + CFLAGS_MACHINE= + case "$host" in +- i*86*darwin10*) CFLAGS_MACHINE='-march=i686 -m32';; ++ i*86*darwin1*) CFLAGS_MACHINE='-march=i686 -m32';; + mips*irix*) CFLAGS_MACHINE='-march=4000';; + *sparc*sunos4.1.3) CFLAGS_MACHINE='-msupersparc';; + *sparc*solaris) CFLAGS_MACHINE='-msupersparc';; |
