I don't know if this works on all ants, but try a line of cinnamon. Ants won't walk over the line so we used to use it around antholes at the base of walls.
We burn cinnamon roots (is that what they are called?) in small bowls to avoid this problem during summer. Might be worth giving a shot. The smoke coming out of the bow, if it doesn't fly away immediately, will hide the pheromones. It also help us reduce mosquitos as well, but I don't know why that works.
That helped us a lot as a kid!
Good luck, hope it helps!