The invention relates to a pharmaceutical composition and in particular a dermal patch or wound dressing comprising an acid-hydrolyzing oligomer and/or polymer and an acid-activated prodrug such that the active principle in the pharmaceutical composition or in the dermal patch or wound dressing is formed A from the prodrug under the effect of acid. The invention further relates to a corresponding method for releasing active principles from a pharmaceutical composition.