The debian build directory in PowerPC 6.06.x is: /usr/bin/php5-5.2.4/debian
If editing with vi, while in the rules file, use the command "yy" to YANK the mysql line and the "p" command to copy it again. Edit the copied line. This will help preserve formatting, whitespace, tabs, returns, linefeeds, etc.