MacPorts Development <macports-dev@lists.macosforge.org> writes:
Hi! You're receiving this email because a MacPorts port you maintain uses the Tcl command "cd" to change into a directory for some reason. The "cd" command has been deemed harmful for MacPorts, so a future version of MacPorts will hide it from portfiles [1]. (MacPorts trunk already does [2].) Therefore it's necessary to remove this command everywhere it occurs in your portfiles, so that your ports continue to function in future versions of MacPorts.
To see everywhere in your ports where the "cd" command is currently being used, you can use a command like this in the Terminal (replacing "EMAIL" with your maintainer email address (to which this email was sent)):
port file maintainer:EMAIL \ | xargs grep "[[:space:]]cd[[:space:]]" \ | grep -v "system[[:space:]]"
I just realized that a number of my ports use "cd ${somedir}" in the ui_msgs to instruct users. I hope none of my ports use the "cd" Tcl primitive, but I'm still having trouble getting this command right to know for sure. Mark