diff options
author | asau <asau@pkgsrc.org> | 2014-03-25 22:36:58 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2014-03-25 22:36:58 +0000 |
commit | 35bad0ee25a4aa0c52fb0882d794f052fa617990 (patch) | |
tree | d90920e3b166e15ae7f23de9f1bb1650d0c3124b | |
parent | cf44b47f4f3a36fe8550700c5ff5524fd281c68b (diff) | |
download | pkgsrc-35bad0ee25a4aa0c52fb0882d794f052fa617990.tar.gz |
Use O_SYNC instead of O_DSYNC on FreeBSD. This fixes build on FreeBSD 9-10.
-rw-r--r-- | databases/openldap-server/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/openldap-server/Makefile b/databases/openldap-server/Makefile index 05d1fd66535..514e64ef103 100644 --- a/databases/openldap-server/Makefile +++ b/databases/openldap-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2014/02/12 23:17:40 tron Exp $ +# $NetBSD: Makefile,v 1.40 2014/03/25 22:36:58 asau Exp $ PKGNAME= ${DISTNAME:S/-/-server-/} PKGREVISION= 1 @@ -8,6 +8,7 @@ CONFLICTS+= openldap<2.3.23nb1 DEPENDS+= openldap-client>=2.3.27nb1:../../databases/openldap-client +CFLAGS.FreeBSD+= -DMDB_DSYNC=O_SYNC CFLAGS.DragonFly+= -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync # slapd options |