aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnu-smalltalk.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-16 18:43:20 -0700
committerAdam Vandenberg2010-10-16 18:43:20 -0700
commit636dcb67b8e9068c7864e606cae279c97a3c52f7 (patch)
treef38978cd1e554bca435b7f6a37ee7b658114ded8 /Library/Formula/gnu-smalltalk.rb
parent19a007a6269da0ac3e2bfeb467e315e1923612ca (diff)
downloadhomebrew-636dcb67b8e9068c7864e606cae279c97a3c52f7.tar.bz2
gnu-smalltalk - warn about gdbm
Diffstat (limited to 'Library/Formula/gnu-smalltalk.rb')
-rw-r--r--Library/Formula/gnu-smalltalk.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb
index 84f7131d8..5f1da55a5 100644
--- a/Library/Formula/gnu-smalltalk.rb
+++ b/Library/Formula/gnu-smalltalk.rb
@@ -23,6 +23,17 @@ class GnuSmalltalk <Formula
# 64-bit version doesn't build, so force 32 bits.
ENV.m32
+ if snow_leopard_64? and Formula.factory('gdbm').installed?
+ onoe "A 64-bit gdbm will cause linker errors"
+ puts <<-EOS.undent
+ GNU Smalltak doesn't compile 64-bit clean on OS X, so having a
+ 64-bit gdbm installed will break linking you may want to do:
+ $ brew unlink gdbm
+ $ brew install gnu-smalltalk
+ $ brew link gdbm
+ EOS
+ end
+
# GNU Smalltalk thinks it needs GNU awk, but it works fine
# with OS X awk, so let's trick configure.
here = Dir.pwd