From f6095e59f68658e6676096b0348c09313f6952d1 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Tue, 3 Oct 2017 00:59:30 +0200 Subject: [PATCH] modules: fix Tcl location Closes #18880. Signed-off-by: FX Coudert --- Formula/modules.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/modules.rb b/Formula/modules.rb index 1ec8677d31876..877ec864e55b5 100644 --- a/Formula/modules.rb +++ b/Formula/modules.rb @@ -17,10 +17,9 @@ def install # -DUSE_INTERP_ERRORLINE fixes # error: no member named 'errorLine' in 'struct Tcl_Interp' args = %W[ - --disable-debug --disable-dependency-tracking - --disable-silent-rules --prefix=#{prefix} + --with-tcl=#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework --datarootdir=#{share} --disable-versioning CPPFLAGS=-DUSE_INTERP_ERRORLINE