Le 28 août 07 à 23:15, Landon Fuller a écrit :


On Aug 28, 2007, at 1:58 PM, N_Ox wrote:


Le 28 août 07 à 04:00, [EMAIL PROTECTED] a écrit :

Revision 28311
Author [EMAIL PROTECTED]

<snip/>
+ system "cd ${destroot}${prefix}/bin && ln -sf ${nprefix}/bin/ gcc-apple-4.0 && ln -sf ${nprefix}/bin/cpp-apple-4.0"
<snip/>

Why don't you use cd and ln TCL procedures?

You shouldn't use Tcl's "cd" in a port -- it changes the current working directory of the entire process. We should probably remove the Tcl command from the interpreter.

-landonf

I think we should change this behavior rather than disabling the command. Useful working directories in build stages (e.g. ${worksrcpath} in configure or ${destroot} in destroot) would be a nice feat.

--
Anthony Ramine, the infamous MacPorts Trac slave.
[EMAIL PROTECTED]


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to