you will be ok with at least 8" gap between the two ports.
the labyrinth enclosure wich is also know as a TL enclosure uses a difrent tuning equation
The length of the line is calculated Using:
v
λ=------
f
where:
λ = wavelength in metres
v = velocity of sound in long-haired wool = 330 × 0.85 m/s
f = the resonant frequency of the woofer = "35Hz example"
330 x 0.85
λ=---------------- =8m
35
but im sure thats not what you had in mind.
and you calculate your port in this maner.
im not 100% on this but. adding 180* bends to the port will slow the air down. the more folds you add to the port the lower your tuning freq will be from the calculated value. how drastic of a change this is im not sure.
laters