Ignore what is below, apparently it has been fixed already and was a problem in my copy (which is patched). There are still those dylib files in aMule.app/Contents/Frameworks to delete!
<old>
Ok there is an huge problem in compiling aMule for Mac with UPnP support. HFS+ is case insensitive and aMule UPnP.h is included where one would expect the real upnp.h is included. A fix would be to add to the include path just the prefix of UPnP and then include the files via <upnp/upnp.h> instead of "upnp.h". Another solution would be to rename UPnP.h to something else.
</old>