Well, slot ports usually utilize a wall or two or more to create the ports physical form. A square port has the same output characteristics as a round port with the exception of less even resonance control, so square ports have more resonance changes when the sound exits, and can change phasing. BUT for length, this is mainly because of the wall where a corner lies. The square port does not have the ability to build up pressure AT the throat of the port, like a slot port does, if it is a constant port. Therefore tuning may be a bit different, and therefore lengths may need to be adjusted.
But these differences are very minor in the audible sense. Unless you are worries about SPL scores, they are not very noticeable. BUT I will say, that using a square port will likely give more of a peaky response compared to a slot port more to a 1:1 hxw ratio because the output characteristics of each (when comparing the two of a square and a slot 1:1) are very different. When the slot port becomes more of an 8:1 ratio, it begins to act more compressed than coupled EVEN THOUGH the square area remains constant. This is due to the high pressure in the corners. The further away the pressure areas are from each other, and the more symmetrical the output is, the smoother the output will be.
The good news for us is...we are dealing with vehicle cabin volumes and low to very low frequencies. That being noted, we can pay less attention to those types of changes when dealing with high power applications.
So, in general, the differences of lengths are minor, and an average of the two can be used for any doubts of its accuracy. The audible output will be similar for both if the ratios are kept under control. Hope that helps!