# HG changeset patch # User Franz Glasner # Date 1731063741 -3600 # Node ID 1e62a914c127d4cde35c61ac3ae3d94530464c19 # Parent 32e457ff872fa0f95b592f3d1f2294902fbd35ff ports.subr, common.subr: Move the PKG definition into common.subr diff -r 32e457ff872f -r 1e62a914c127 share/local-bsdtools/common.subr --- a/share/local-bsdtools/common.subr Fri Nov 08 11:59:47 2024 +0100 +++ b/share/local-bsdtools/common.subr Fri Nov 08 12:02:21 2024 +0100 @@ -18,6 +18,9 @@ #: The path to the external jq executable (JSON parser) : "${JQ=/usr/local/bin/jq}" +#: Use the system's :command:`pkg` implementation +: "${PKG=/usr/sbin/pkg}" + # # Some important definitions from :manpage:`sysexits(3)` diff -r 32e457ff872f -r 1e62a914c127 share/local-bsdtools/ports.subr --- a/share/local-bsdtools/ports.subr Fri Nov 08 11:59:47 2024 +0100 +++ b/share/local-bsdtools/ports.subr Fri Nov 08 12:02:21 2024 +0100 @@ -23,10 +23,6 @@ type fatal 1>/dev/null 2>/dev/null || { echo "ERROR: source \`common.subr' first"; exit 70; } -#: Use the system's :command:`pkg` implementation -PKG=/usr/sbin/pkg - - #: #: Determine whether a package `_package` is essentially the same as #: another package.