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. | +========================================================+