pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/openldap-server Use O_SYNC instead of O_DSYN...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8607fcf40f5c
branches:  trunk
changeset: 632345:8607fcf40f5c
user:      asau <asau%pkgsrc.org@localhost>
date:      Tue Mar 25 22:36:58 2014 +0000

description:
Use O_SYNC instead of O_DSYNC on FreeBSD. This fixes build on FreeBSD 9-10.

diffstat:

 databases/openldap-server/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 83d452fb857b -r 8607fcf40f5c databases/openldap-server/Makefile
--- a/databases/openldap-server/Makefile        Tue Mar 25 16:34:50 2014 +0000
+++ b/databases/openldap-server/Makefile        Tue Mar 25 22:36:58 2014 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index