--- openldap-2.4.30.ebuild 2012-03-17 20:01:23.000000000 +0200 +++ openldap-2.4.30.ebuild 2012-03-19 23:12:08.000000000 +0200 @@ -298,6 +298,9 @@ #Fix for glibc-2.8 and ucred. Bug 228457. append-flags -D_GNU_SOURCE + # Bug 408001 + use elibc_FreeBSD && append-flags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync + use debug && myconf="${myconf} $(use_enable debug)" # ICU usage is not configurable