On the mean field equation with variable intensities on pierced domains