Changeset View
Changeset View
Standalone View
Standalone View
Tools/scripts/MOVEDlint.awk
Context not available. | |||||
delete missing[$1] | delete missing[$1] | ||||
} else { | } else { | ||||
if (from_flavor != "") { | if (from_flavor != "") { | ||||
if (!system("test \"" from_flavor "\" = \"`make -C " portsdir "/" $1 " -VFLAVORS:M" from_flavor "`\"")) { | if (!system("test \"" from_flavor "\" = \"`make -DBUILD_ALL_PYTHON_FLAVORS -C " portsdir "/" $1 " -VFLAVORS:M" from_flavor "`\"")) { | ||||
printf "%5d: %s still has the %s flavor\n", NR, $1, from_flavor | sort | printf "%5d: %s still has the %s flavor\n", NR, $1, from_flavor | sort | ||||
} | } | ||||
# No else because the port is there but does not have the flavor, | # No else because the port is there but does not have the flavor, | ||||
Context not available. | |||||
missing[$2] = NR | missing[$2] = NR | ||||
else | else | ||||
if (to_flavor != "") { | if (to_flavor != "") { | ||||
if (system("test \"" to_flavor "\" = \"`make -C " portsdir "/" $2 " -VFLAVORS:M" to_flavor "`\"")) { | if (system("test \"" to_flavor "\" = \"`make -DBUILD_ALL_PYTHON_FLAVORS -C " portsdir "/" $2 " -VFLAVORS:M" to_flavor "`\"")) { | ||||
printf "%5d: %s does not have the %s flavor\n", NR, $2, to_flavor | sort | printf "%5d: %s does not have the %s flavor\n", NR, $2, to_flavor | sort | ||||
error[NR] = 1 | error[NR] = 1 | ||||
} | } | ||||
Context not available. |