The invention provides methods of treating a disease selected from systemic sclerosis, rheumatoid arthritis, mastocytosis, and chronic eosinophilic leukemia comprising administering biaryl meta-pyrimidine compounds having the general structure (A) to a subject in need thereof. The pyrimidine compounds of the invention are capable of inhibiting kinases, such as members of the JAK kinase family, and various other specific receptor and non-receptor kinases.