git: 440a2e37d269 - main - math/R: Specify tk_config location during configure

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Sat, 19 Feb 2022 15:38:10 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=440a2e37d269fd244a5bab4fe804bd531daadac5

commit 440a2e37d269fd244a5bab4fe804bd531daadac5
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2022-02-19 15:34:48 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2022-02-19 15:37:52 +0000

    math/R: Specify tk_config location during configure
    
    PR:             261779
---
 math/R/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/math/R/Makefile b/math/R/Makefile
index 3fa1933f58f8..31c48c11b1b4 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -116,7 +116,8 @@ RBLAS_EXTRA_PATCHES=		${PATCHDIR}/extra-patch-src_extra_blas_Makefile.in \
 RPROF_CONFIGURE_ENABLE=		R-profiling
 TCLTK_IMPLIES=			X11
 TCLTK_USES=			tcl tk
-TCLTK_CONFIGURE_WITH=		tcltk
+TCLTK_CONFIGURE_WITH=		tcltk tcl_config=${TCL_LIBDIR}/tclConfig.sh \
+				tk_config=${TK_LIBDIR}/tkConfig.sh
 TEXDOCS_USE=			TEX=dvipsk:build,kpathsea:build,pdftex:build
 .for i in KPSEWHICH MAKEINDEX PDFLATEX PDFTEX TEX TEXI2DVI
 TEXDOCS_CONFIGURE_ENV_OFF+=	ac_cv_path_${i}=""