Quark-mass dependence of gluonic boundary conditions☆