You're welcome to change it. I'm not a Tcl expert my any means :) If you do change it, please change it in all the Portfiles that use this horrible code :) Just please keep 10.3 compatibility, since I still build MacPorts for 10.3. Regards, Blair -- Blair Zajac, Ph.D. CTO, OrcaWare Technologies <blair@orcaware.com> Subversion training, consulting and support http://www.orcaware.com/svn/ Elias Pipping wrote:
To be frank, that line is awful. whay not use "cd", "foreach", "glob", "file link (link in 1.4.0)", "reinplace"?!
Regards,
Elias Pipping
On Feb 25, 2007, at 8:10 PM, Daniel J. Luke wrote:
On Feb 25, 2007, at 2:02 PM, Blair Zajac wrote:
post-destroot { if {[variant_isset normal_install_names]} { system "cd ${destroot}${prefix}/bin && for f in g*; do ln -s \$f `echo \$f | sed -e 's/^g//'`; done" } }
variant normal_install_names { }
A number of other packages use this name naming convention.
IIRC this could be done without the variaint_isset conditional by just adding a post-destroot inside of the normal_install_names variant.
... but it's been a while since I played with it or looked at the code that would implement this.
-- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+