Competition systems with Dirichlet boundary conditions