From: Marc Espie Subject: convenience tweak to pkgpath.mk To: tb@openbsd.org, sthen@openbsd.org, afresh1@openbsd.org Cc: ports@openbsd.org Date: Thu, 4 Dec 2025 14:28:36 +0100 I use this often enough while figuring out details of some perl tooling, such as why update-plist is not quite doing what I want Index: README.internals =================================================================== RCS file: /vide/cvs/ports/infrastructure/mk/README.internals,v diff -u -p -r1.19 README.internals --- README.internals 10 Aug 2023 18:50:58 -0000 1.19 +++ README.internals 4 Dec 2025 13:26:54 -0000 @@ -425,6 +425,9 @@ _SHSCRIPT: prepend to a shell script in _PERLSCRIPT: likewise for perl scripts. +_PERLDSCRIPT: (unused) variation of _PERLSCRIPT for debugging a script, + runs through perl -d + _ALL_VARIABLES _ALL_VARIABLES_INDEXED _ALL_VARIABLES_PER_ARCH: stuff to dump in dump-vars. First is "simple" variable, second one will depend on the subpackage, and for last one, must iterate Index: pkgpath.mk =================================================================== RCS file: /vide/cvs/ports/infrastructure/mk/pkgpath.mk,v diff -u -p -r1.89 pkgpath.mk --- pkgpath.mk 12 Nov 2023 12:55:08 -0000 1.89 +++ pkgpath.mk 4 Dec 2025 13:25:30 -0000 @@ -11,6 +11,7 @@ DANGEROUS ?= No LOCALBASE ?= /usr/local _PERLSCRIPT = /usr/bin/perl ${PORTSDIR}/infrastructure/bin +_PERLDSCRIPT = /usr/bin/perl -d ${PORTSDIR}/infrastructure/bin .if !defined(PKGPATH) PKGPATH != PORTSDIR_PATH=${PORTSDIR_PATH} \