MASTER_SITES is defined in math/R/Makefile.extension, which should be included by all R packages. Therefore, MASTER_SITES should not be defined in a Makefile for an R package.