pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/tools



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Feb 19 14:31:11 UTC 2026

Modified Files:
        pkgsrc/mk/tools: itstool.mk

Log Message:
mk: add itstool:test support


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mk/tools/itstool.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/tools/itstool.mk
diff -u pkgsrc/mk/tools/itstool.mk:1.2 pkgsrc/mk/tools/itstool.mk:1.3
--- pkgsrc/mk/tools/itstool.mk:1.2      Sun Jan 12 20:35:13 2025
+++ pkgsrc/mk/tools/itstool.mk  Thu Feb 19 14:31:11 2026
@@ -1,8 +1,15 @@
-# $NetBSD: itstool.mk,v 1.2 2025/01/12 20:35:13 riastradh Exp $
+# $NetBSD: itstool.mk,v 1.3 2026/02/19 14:31:11 wiz Exp $
 
-.if !empty(USE_TOOLS:Mitstool)
+.if !empty(USE_TOOLS:C/:.*//:Mitstool)
+.  if !empty(USE_TOOLS:Mitstool\:test)
+_TOOLS_DEPMETHOD.itstool=      TEST_DEPENDS
+.  else
+_TOOLS_DEPMETHOD.itstool=      TOOL_DEPENDS
+.  endif
+.  if empty(${_TOOLS_DEPMETHOD.itstool}:M${TOOLS_DEPENDS.itstool})
+${_TOOLS_DEPMETHOD.itstool}+=  itstool-[0-9]*:../../textproc/itstool
+.  endif
 TOOLS_CREATE+=         itstool
-TOOLS_DEPENDS.itstool?=        itstool-[0-9]*:../../textproc/itstool
 TOOLS_PATH.itstool=    ${TOOLBASE}/bin/itstool
 .else
 #



Home | Main Index | Thread Index | Old Index