Alexander K. Hansen wrote: > John Ridgway wrote: > >> No, you can't use %p in a patch file. The preferred method, >> apparently, is to put something like: >> @PREFIX@ in the patch file where you would want %p, then use: >> >> PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1 >> >> >> > OK, that's "righter" than what I had. :-) I think you'd need > > PatchScript: sed -i -e 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1 > > though. > > oops. No -i:
PatchScript: sed -e 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1 Shouldn't barge in on these technical issues when I can't get to my Mac. :-( >> in your .info file. >> >> See the packaging manual. >> >> Peace >> - John >> >> >> -- Alexander K. Hansen Fink User Liaison/Documenter akh AT finkproject DOT org ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
