In some packages patchscripts such as the following are used to coerce
packages to install correctly:
sed 's:@PREFIX@:%p:g' <%a/%f.patch | patch -p1
Assuming I've read that correctly, sed substitutes the current
definition of %p for @PREFIX@ in the patchfile , before feeding the
results to patch.
I want to substitute the proper fink prefixes for two variables
(@DESTDIR@ and @PREFIX@), but am unsure how to coerce sed to do this.
BTW, it would be nice if fink build process warned installers that
certain files were installed outside %d. Even projects which use
autotools to build sometimes include their own (crude) installation
scripts that may not recognize $(DESTDIR) .
Jeremy
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
- [Fink-devel] sed and patchscripts? Jeremy Erwin
- Re: [Fink-devel] sed and patchscripts? Carsten Klapp
- Re: [Fink-devel] sed and patchscripts? Ben Hines
- Re: [Fink-devel] sed and patchscripts? Jeremy Erwin
- Re: [Fink-devel] sed and patchscripts? Finlay Dobbie