- if $(pkg which -q ${dep_file} > /dev/null 2>&1); then
- dep_file_pkg=$(pkg which -qo ${dep_file})
+ if $("${PKG_BIN}" which -q ${dep_file} > /dev/null 2>&1); then
+ dep_file_pkg=$("${PKG_BIN}" which -qo ${dep_file})
# Check that the .so we need has a SONAME
if [ "${dep_file_pkg}" != "${PKGORIGIN}" ]; then
@@ -772,7 +772,7 @@
EOT
fi
done
- if [ -n "${gotsome}" ] && ! pkg info -e devel/p5-Module-CoreList; then
+ if [ -n "${gotsome}" ] && ! "${PKG_BIN}" info -e devel/p5-Module-CoreList; then
notice "You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions."