Do not build a fence outside on your soil to store your chickens. Your fence can be damaged. Instead, build a fence out of stones. Collect stones from your garden and build a stone fence the same way you would build a regular wooden fence. This will keep your chickens safe, and will not prevent a wild dog from breaking through the stone fence to scare your chickens
that, or you can use branches instead of rocks. it makes things more...matchy (is that even a word???)