Replying to myself:
> Could it be that our pkg-config is searching /usr/lib/pkgconfig in case a *.pc file was
> not found in $PKG_CONFIG_PATH ?
Yes, it does :(
> Especially, since 'get_meta' (config/functions line 115) unsets $PKG_CONFIG_LIBDIR...
This appears to be a bug: PKG_CONFIG_LIBDIR should be preserved as well. In line 33 we
set it to "" to avoid the problem above, but shoot ourselves in the foot by killing the
variable here.
So the reason for the "CROSS_COMPILE Badness" error is that on this build machine there
must be an "sdl.pc" in /usr/lib/pgkconfig or maybe in /usr/local/lib/pkgconfig and our
pkg-config is finding it when it should not.
The missing dependencies are another story. The openmpt123 executable may use
SDL2/SDL/PortAudio, FLAC and libsndfile. However, we do not need this executable.
Currently we are building it, but it doesn't get installed/packaged since all we want is
libopenmpt.so.*. So we won't loose much if we disable openmpt123 as suggested earlier.
--
Ruediger "Rudi" Ihle