aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bdw-gc.rb
diff options
context:
space:
mode:
authorJack Nagel2012-02-06 14:42:44 -0600
committerJack Nagel2012-02-14 19:17:27 -0600
commit56ddbead467bb806ae3b981ea44f30968bd6aedf (patch)
treeffe8289e64b27c9841090ca4e9c1e33040e07efc /Library/Formula/bdw-gc.rb
parent3608ce2aed01d50d2abbf17fd8ae9917a3174936 (diff)
downloadhomebrew-56ddbead467bb806ae3b981ea44f30968bd6aedf.tar.bz2
bdw-gc: use 7.2alpha6 by default
7.1 is over two years old, and upstream recommends using 7.2alpha6 instead. This fixes build and test issues that 7.1 had on some systems, and incompatibilities with some software. Closes #8609. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/bdw-gc.rb')
-rw-r--r--Library/Formula/bdw-gc.rb26
1 files changed, 5 insertions, 21 deletions
diff --git a/Library/Formula/bdw-gc.rb b/Library/Formula/bdw-gc.rb
index 1b0bbc84c..9561d30c5 100644
--- a/Library/Formula/bdw-gc.rb
+++ b/Library/Formula/bdw-gc.rb
@@ -1,33 +1,17 @@
require 'formula'
class BdwGc < Formula
+ # upstream recommends using 7.2alpha6 over 7.1
homepage 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/'
+ url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2alpha6.tar.gz'
+ md5 '319d0b18cc4eb735c8038ece9df055e4'
+ version '7.2alpha6'
- url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz'
- md5 '2ff9924c7249ef7f736ecfe6f08f3f9b'
-
- devel do
- url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2alpha6.tar.gz'
- md5 '319d0b18cc4eb735c8038ece9df055e4'
- version '7.2alpha6'
- end
-
- # patch to fix inline asm errors with LLVM, present in upstream SVN
- # some directory restructuring between 7.1 and 7.2a6 force us to have two
- # versions of the same patch
def patches
- if ARGV.build_devel?
- DATA
- else
- { :p0 => "https://trac.macports.org/export/86621/trunk/dports/devel/boehmgc/files/asm.patch" }
- end
+ DATA # fix inline asm errors with LLVM, present in upstream SVN
end
def install
- # ucontext has been deprecated in 10.6
- # use this flag to force the header to compile
- ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE" if MacOS.snow_leopard?
-
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",