Buy smaller amounts in pharmacies as you go? I got my metformin, levothyroxine, and lisinopril in Spain without my prescriptions, and cheaper than my co-pay in USA.
Also, when I was hospitalero, we had all sorts of first-aid and pain-related things that we could provide to peregrinos in need.