Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2023 00:55:07 GMT
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0f5dd65eb452 - main - Mk/Uses/tcl.mk: Add support of 'test' argument
Message-ID:  <202308200055.37K0t7h8082021@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f5dd65eb452b17d270948a231b13d92dfe0a242

commit 0f5dd65eb452b17d270948a231b13d92dfe0a242
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-08-17 07:29:16 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-08-20 00:53:36 +0000

    Mk/Uses/tcl.mk: Add support of 'test' argument
    
    Add support of 'test' argument that specifies test-time only
    dependency.
    
    PR:             273190
    Approved by:    gahr (tcltk, maintainer)
---
 Mk/Uses/tcl.mk | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Mk/Uses/tcl.mk b/Mk/Uses/tcl.mk
index e9dc233fd889..d940b4a19409 100644
--- a/Mk/Uses/tcl.mk
+++ b/Mk/Uses/tcl.mk
@@ -25,7 +25,7 @@
 #
 # Usage:
 #
-# USES+=	PORT[:(VERSION|wrapper),build,run,tea]
+# USES+=	PORT[:(VERSION|wrapper),build,run,tea,test]
 #
 # where PORT is one of:
 #
@@ -49,7 +49,8 @@
 # tk-wrapper is added. It is NOT possible to select a specific version of
 # Tcl/Tk when using the wrapper.
 #
-# Build-time / Run-time only dependencies can be specified with build or run.
+# Build-time / Run-time / Test-time only dependencies can be specified with
+# build, run or test.
 #
 # Tea can be used for Tcl/Tk extensions that use the Tcl Extension Architecture
 # [http://www.tcl.tk/doc/tea] and allows to set common autoconf parameters.
@@ -209,6 +210,9 @@ BUILD_DEPENDS+=	${_TCLTK_WRAPPER_PORT} \
 .  elif ${tcl_ARGS:Mrun}
 RUN_DEPENDS+=	${_TCLTK_WRAPPER_PORT} \
 		${_TCLTK_EXE_LINE}
+.  elif ${tcl_ARGS:Mtest}
+TEST_DEPENDS+=	${_TCLTK_WRAPPER_PORT} \
+		${_TCLTK_EXE_LINE}
 .  else
 RUN_DEPENDS+=	${_TCLTK_WRAPPER_PORT}
 LIB_DEPENDS+=	${_TCLTK_LIB_LINE}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308200055.37K0t7h8082021>