Hi Ryan and everyone,
On May 28, 2008, at 4:11 PM, Ryan Schmidt wrote: > On May 28, 2008, at 10:22, Frank Schima wrote: > >> What's the best practice for handling ports with different versions? [...] >> Furthermore, it appears that it is not possible to install both 8.5.x >> and 8.4.x versions of tcl and tk at the same time. So only one should >> be allowed. >> >> Are there other ports like this and what has been done? > > You would also have to modify these new tcl84/tk84 ports so that > they install into different places than the tcl/tk ports, so that it > is possible to install both tcl and tcl84 (and tk and tk84) at the > same time. Then: [...] > Then you change blt so it depends on tcl84/tk84 and can find the > tcl84/tk84 software wherever it got installed (since it had to be > modified to install in a nonstandard location to allow simultaneous > installation with the newer version). Sorry for the delay in this. I believe I am nearly done with my tcl84 and tk84 ports for use with blt. But I'm not sure how to handle the post-destroot in order to have both versions be able to be installed at the same time. Here's the current one for tcl 8.5 (tcl): post-destroot { ln -s ${prefix}/bin/tclsh8.5 ${destroot}${prefix}/bin/tclsh ln -s ${prefix}/lib/libtcl8.5.dylib ${destroot}${prefix}/lib/ libtcl.dylib } and for tk 8.5 (tk): post-destroot { ln -s ${prefix}/bin/wish8.5 ${destroot}${prefix}/bin/wish ln -s ${prefix}/lib/libtk8.5.dylib ${destroot}${prefix}/lib/ libtk.dylib } For example with tcl 8.4 (tcl84), I don't think I can simply change the version because it will overwrite the symbolic link: post-destroot { ln -s ${prefix}/bin/tclsh8.4 ${destroot}/${prefix}/bin/tclsh ln -s ${prefix}/lib/libtcl8.4.dylib ${destroot}/${prefix}/lib/ libtcl.dylib } Any suggestions on how to handle this issue? Cheers! Frank Schima _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev