xfce4-power-manager fails to build on FreeBSD / DragonFlyBSD with clang because of missing -lXext, see for example http://li604-44.members.linode.com/job/xfce4-power-manager/nodes=FreeBSD/163/console gmake[2]: Entering directory '/home/vagrant/workspace/xfce4-power-manager/nodes/FreeBSD/src' CCLD xfce4-power-manager /usr/bin/ld: undefined reference to symbol `XSyncIntToValue' (try adding -lXext) /usr/local/lib/libXext.so.6: could not read symbols: Bad value It's due to AC_CHECK_LIB([Xext], [DPMSQueryExtension], [DPMS_LIBS=" -lXext -lX11"],[]) check in configure, which does not works because of missing -L/usr/local/lib in the conftest in BSD context.
Created attachment 7423 Fix build on freebsd/dragonflybsd
Romain B referenced this bugreport in commit 17ac6a10f741017d1c853a884ee656a964909aa2 Fix build on FreeBSD and DragonFlyBSD (Bug #13984) https://git.xfce.org/xfce/xfce4-power-manager/commit?id=17ac6a10f741017d1c853a884ee656a964909aa2
Let's see if this fixes things on those *BSDs - anyway it doesn't seem to have a negative effect on Linux :)