Compiling port sysutils/bareos-client (outdated version 16.2.7) with option LMDB enabled, the compiler terminates with the error: [...] Compiling midl.c --- mdb.lo --- mdb.c:4832:14: error: variable has incomplete type 'union semun' union semun semu; ^ mdb.c:4832:8: note: forward declaration of 'union semun' union semun semu; ^ 1 error generated. *** [mdb.lo] Error code 1 This happens on recent CURRENT (FreeBSD 12.0-CURRENT #28 r331906: Tue Apr 3 07:26:05 CEST 2018 amd64).
*** This bug has been marked as a duplicate of bug 226386 ***