On Thursday, November 21, 2002, at 12:04 PM, Jeremy Erwin wrote:
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 recogn
Hi Jeremy,
sed accepts piped input too so you can string multiple seds and greps
together, try this:
cat %a/%f.patch | sed 's:@PREFIX@:%p:g' | sed 's:@DESTDIR@:%d:g' |
patch -p1
There may be a more efficient way to do it but this is how I know, and
it works ok.
Carsten
On Thursday, November 2
On Thursday, November 21, 2002, at 08:05 PM, Jeremy Erwin wrote:
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
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 pat
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 pat