I'm looking at tdebase/kioslave/media/mediamanager/CMakeLists.txt. I notice two differences:
Under WITH_HAL, linuxcdpolling.cpp is built but not otherwise. Second, under WITH_HAL, the LINK option includes ${DBUS_TQT_LIBRARIES} but otherwise not.
In other words, when building with WITH_HAL=OFF and WITH_TDEHW=ON, those two differences come into play.
I could try a simple patch to add those options and see what happens. Worse case is tdebase fails to build.
The patch did not help. Did not hinder either.
Built without failure too. Interesting.
Darrell