Macs don't come with wget, they come with curl. The following patch will check if wget is available and if not fall back to using curl. It'll fail if neither one can be found.
brahms:~/src/controltier/ctiersvn mlei$ svn ci -m 'Add ability to use curl as well as wget, fixes #3002268' buildall.sh
Sending buildall.sh
Transmitting file data .
Committed revision 9992.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patch to buildall to allow building on Mac using curl
brahms:~/src/controltier/ctiersvn mlei$ svn ci -m 'Add ability to use curl as well as wget, fixes #3002268' buildall.sh
Sending buildall.sh
Transmitting file data .
Committed revision 9992.