File:  [cvs.NetBSD.org] / pkgsrc / databases / lmdb / Makefile
Revision 1.20: download - view: text, annotated - select for diffs
Mon Jun 14 09:04:23 2021 UTC (3 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, HEAD
openldap: updated to 2.4.59

OpenLDAP 2.4.59 Release (2021/06/03)
        Fixed libldap TLSv1.3 cipher suites with OpenSSL 1.1.1
        Fixed libldap double free of LDAP_OPT_DEFBASE
        Fixed slapd syncrepl handling of add+delete on single value attr
        Fixed slapd-mdb cursor init check
        Fixed slapd-mdb deletion of context entry
        Fixed slapd-mdb off-by-one affecting search scope
        Fixed slapo-pcache locking during expiration
        Contrib
                Fixed slapo-autogroup to not thrash thread context
        Documentation
                ldap_modify(3) - Delete non-existent mod_next parameter

# $NetBSD: Makefile,v 1.20 2021/06/14 09:04:23 adam Exp $

.include "../../databases/openldap/Makefile.version"

# get the version from libraries/liblmdb/lmdb.h
PKGNAME=	lmdb-0.9.29
CATEGORIES=	databases

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Symas Lightning Memory-Mapped Database

USE_GCC_RUNTIME=	yes
USE_TOOLS+=		gmake

BUILD_DIRS=		libraries/liblmdb
MAKE_FLAGS+=		CC=${CC:Q}
MAKE_FLAGS+=		XCFLAGS=${CFLAGS:Q}\ -D_SEM_SEMUN_UNDEFINED
INSTALL_MAKE_FLAGS+=	prefix=${PREFIX}

INSTALLATION_DIRS+=	bin
INSTALLATION_DIRS+=	include
INSTALLATION_DIRS+=	lib
INSTALLATION_DIRS+=	${PKGMANDIR}/man1

TEST_TARGET=		test

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS" && (${OS_VERSION} == "5.9" || ${OS_VERSION} == "5.10")
LDFLAGS+=	-lrt
.endif

.if ${OPSYS} == "Darwin"
MAKE_FLAGS+=	SOEXT=.dylib
MAKE_FLAGS+=	SOLIBS=-install_name\ ${PREFIX}/lib/liblmdb.dylib
.endif

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>