I've used MacPorts to install libmtp on my mac, by default MacPorts use prefix /opt/local for all installed software, so in order to configure I had to use command:
PKG_CONFIG_PATH is for osxfuse not sure why it's not autodetected, probably because pkg-config is from macports too and expects it to be in /opt/local.
I have no knowledge to send PR but hopefully it could be useful for others.
I've used MacPorts to install libmtp on my mac, by default MacPorts use prefix /opt/local for all installed software, so in order to configure I had to use command:
PKG_CONFIG_PATH is for osxfuse not sure why it's not autodetected, probably because pkg-config is from macports too and expects it to be in /opt/local.
I have no knowledge to send PR but hopefully it could be useful for others.