[56916] trunk/dports/emulators/nonpareil
Ryan Schmidt
ryandesign at macports.org
Thu Sep 3 08:55:51 PDT 2009
On Sep 3, 2009, at 10:22, krischik at macports.org wrote:
> + pre-patch {
> + file copy ${filespath}/osx.patch ${filespath}/osx.patch.diff
> + reinplace s|@PREFIX@|${prefix}|g ${filespath}/osx.patch.diff
> + }
You should not create or modify files in ${filespath}. Instead, just
use the patch as is, and then use reinplace on the file that got
patched, in the post-patch phase.
More information about the macports-dev
mailing list