aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2022-02-14 03:30:54 +0000
committerMikhail Teterin <mi@FreeBSD.org>2022-02-14 03:30:54 +0000
commit2447a8078112d28ea245404f8ca5dfebb4742cbe (patch)
tree945cdc8214df2f5f4e50f6933bcc5924e4c9c664
parent128bea734dd57f0c164ee49f0dc109a0331fd5a1 (diff)
downloadports-2447a8078112d28ea245404f8ca5dfebb4742cbe.tar.gz
ports-2447a8078112d28ea245404f8ca5dfebb4742cbe.zip
databases/sqlite3: use the right TCL even if a newer version is installed
PR: 261367
-rw-r--r--databases/sqlite3/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index f17d3cae2d7b..2281d3dec89e 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -197,6 +197,8 @@ STMT_CPPFLAGS= -DSQLITE_ENABLE_STMT_SCANSTATUS=1
TCL_USES= tcl
TCL_USES_OFF= tcl:build
TCL_CONFIGURE_ENABLE= tcl
+TCL_CONFIGURE_WITH= tcl=${TCL_LIBDIR}
+TCL_CONFIGURE_ENV= ac_cv_prog_TCLSH_CMD=${TCLSH}
TCL_ALL_TARGET+= sqlite3_analyzer
THREADS_CONFIGURE_ENABLE= threadsafe
THREADS_LIBS= -lpthread