<command>sed -e ... tkConfig.sh</command>: The <application>Tk</application> package expects that its source tree is preserved so that packages depending on it for their compilation can utilize it. This <command>sed</command> removes the references to the build directory and replaces them with saner system-wide locations.