@@ -316,6 +316,7 @@ define dep_autopatch_rebar.erl
[begin case case Dep of
N when is_atom(N) -> GetHexVsn(N);
{N, S} when is_atom(N), is_list(S) -> {N, {hex, S}};
+ {_, S, {pkg, N}} -> {N, {hex, S}};
{N, S} when is_tuple(S) -> {N, S};
{N, _, S} -> {N, S};
{N, _, S, _} -> {N, S};