A new strategy involving Ugi-Smiles coupling followed byring-closure metathesis is described herein for the preparationof pyrimidine-fused heterocyclic scaffolds. The scope of thissequence is presented in relation with the heteroatom effectobserved in the Ugi-Smiles coupling.