Changeset View
Changeset View
Standalone View
Standalone View
Mk/Scripts/depends-list.sh
Show All 28 Lines | |||||
validate_env PORTSDIR dp_PKGNAME | validate_env PORTSDIR dp_PKGNAME | ||||
if [ ${recursive} -eq 1 -o ${requires_wrkdir} -eq 1 ]; then | if [ ${recursive} -eq 1 -o ${requires_wrkdir} -eq 1 ]; then | ||||
validate_env dp_MAKE | validate_env dp_MAKE | ||||
# Cache command executions to avoid looking them up again in every | # Cache command executions to avoid looking them up again in every | ||||
# sub-make. | # sub-make. | ||||
MAKE="${dp_MAKE}" export_ports_env >/dev/null | MAKE="${dp_MAKE}" export_ports_env >/dev/null | ||||
fi | fi | ||||
[ -n "${DEBUG_MK_SCRIPTS}" -o -n "${DEBUG_MK_SCRIPTS_DEPENDS_LIST}" ] && set -x | |||||
set -u | set -u | ||||
check_dep() { | check_dep() { | ||||
local _dep wrkdir show_dep | local _dep wrkdir show_dep | ||||
for _dep ; do | for _dep ; do | ||||
myifs=${IFS} | myifs=${IFS} | ||||
IFS=: | IFS=: | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |