Subject: substitutes framework ?
To: None <>
From: Manuel Bouyer <>
List: tech-pkg
Date: 01/24/2005 11:11:30
I'm working on a package which has lots of hardcoded paths. Is there a
framework in pkgsrc for dealing with this ? I looked in the guide, and
a few packages but didn't bind anything obvious.

Basically I'll need to do s,@@PREFIX@@,${PREFIX} in a set of files,
between patch configure. I can add a custom post-patch target, but
maybe there's already something in mk/* to do this ?

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference