On Nov 10, 2011, at 15:39, Marko Käning wrote:

> But how do I properly patch if I need to do this in post-configure phase?
> 
> Marko
> 
> P.S.: Actually I just need to remove the last 5 lines of a generated 
> CMakeLists.txt, which I could also do with reinplace. Even better would be a 
> command which would chop off the last five lines...

Something like:

post-configure {
        system -W ${worksrcpath} "patch -p0 < ${filespath}/patch-something.diff"
}


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to