aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNicholas Robison2013-07-13 01:29:09 -0700
committerAdam Vandenberg2013-07-18 12:46:24 -0700
commit3e8556d9f79c4dcd3fabcd052add0f4607057104 (patch)
tree0503731d1ec8a115fbe1ad0798b5f9e5987aa309 /Library/Formula
parent77a7b7d6e09011d54e4e3697bfd82e2349006bb6 (diff)
downloadhomebrew-3e8556d9f79c4dcd3fabcd052add0f4607057104.tar.bz2
wordnet: Fixed TCL/TK Errors
Closes #21188. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wordnet.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/wordnet.rb b/Library/Formula/wordnet.rb
index f28ad2d14..22a304cb3 100644
--- a/Library/Formula/wordnet.rb
+++ b/Library/Formula/wordnet.rb
@@ -20,6 +20,10 @@ class Wordnet < Formula
WordnetDictionaryUpdate.new.brew do
(prefix+"dict").install Dir['*']
end
+
+ # Disable calling deprecated fields within the Tcl_Interp during compilation.
+ # https://bugzilla.redhat.com/show_bug.cgi?id=902561
+ ENV.append_to_cflags "-DUSE_INTERP_RESULT"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"