As far as I know md5sum program in BSD is /sbin/md5, so maybe there's something like that in MacOS.
I'll provide a makepkg during this week that would fix this md5 checksum thingy among other things, so you can take a look to it and let me know if it works.

I got some other ideas for handling different OSes via CHOST variable. Let me few days to test it.

Antonio Huete

2008/5/30 Sebastian Nowicki <sebnow@gmail.com>:

I don't really like this solution, but it's the only portable solution I
could think of. Instead of using md5sum, sha1sum, etc from GNU
coreutils, openssl is used. Openssl has the limitation that it does not
support the other sha* algorithms, so they had to be removed from
makepkg. I don't like having to remove features in order to make
something more portable.

The patch has been tested on Mac OSX (10.5) and Archlinux.

References http://bugs.archlinux.org/task/10530

 doc/makepkg.conf.5.txt |    2 +-
 etc/makepkg.conf.in    |    2 +-
 scripts/makepkg.sh.in  |    9 ++++-----
 3 files changed, 6 insertions(+), 7 deletions(-)

pacman-dev mailing list