Reinplace

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sat Mar 31 07:20:20 PDT 2012


> cd cd "/opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_Myth.25/mythtv/work/mythtv-v0.25-rc-0-g92f7d1f/mythtv"
> sudo find . -name "Makefile" -exec sed -i '' 's/ -L / /g' {} \;
> 
> This is what MacPorts Reinplace extension is for, right?  Would this be the right syntax?
> 
> post-configure {
> 	reinplace 's/ -L / /g' ${worksrcpath}/Makefile
> }
> 
> Reinplace will do a recursive search from the specified directory on down, right?

reinplace will only operate on the files you give to it. You need to give it a complete list or you might use it in conjunction with fs-traverse (see `man portfile`).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120331/00afdc46/attachment.bin>


More information about the macports-dev mailing list