From 3e8556d9f79c4dcd3fabcd052add0f4607057104 Mon Sep 17 00:00:00 2001 From: Nicholas Robison Date: Sat, 13 Jul 2013 01:29:09 -0700 Subject: wordnet: Fixed TCL/TK Errors Closes #21188. Signed-off-by: Adam Vandenberg --- Library/Formula/wordnet.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') 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}" -- cgit v1.2.3