On 23 Feb 2004, at 8:07 PM, Andrea Riciputi wrote:
Hi,
I was validating a package that I maintain and I got the following warning:
Warning: Patch file appears to contain a hardcoded /sw. (pyx-py23.patch)
Trying to replace "/sw" strings with "%p/" result in an error. Which is the right sintax?
Replace "/sw" with "@PREFIX@
Then put the following PatchScript in the .info file:
PatchScript: << /usr/bin/sed 's|@PREFIX@|%p|g' <%a/%n.patch | /usr/bin/patch -p1 <<
-- Rohan Lloyd
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel