Boundary-layer regime in a vertical porous layer with anisotropic permeability and boundary effects