[kde-freebsd] Bug with x11-toolkits/qt33 and location of moc and other binaries

Bruce M Simpson bms at incunabulum.net
Sun Apr 8 19:13:13 CEST 2007


Whilst attempting to port kdnssd-avahi to FreeBSD I ran into a difficult 
issue.

It requires the avahi port to be built with the QT3 bindings. When 
attempting to build avahi with these bindings, the qt configure test 
fails. it appears that it is trying to run /usr/local/bin/moc ; however, 
x11-toolkits/qt33 installs under X11BASE, not LOCALBASE.

Therefore, the pkg-config part of avahi's configure script will fail to 
find moc.

Further investigation reveals that the prefix= field in qt-mc.pc is set 
to /usr/local NOT /usr/X11R6. Surely this is a bug in the pkgconfig file?

If I hack the prefix= field in the config file to /usr/X11R6 manually 
after installation, the avahi configure script succeeds, and the avahi 
qt3 buildings appear to build.

Should I file a PR for this issue?

Regards,
BMS


More information about the kde-freebsd mailing list