Files
gentoo/sys-libs/ldb/files/ldb-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
Ian Stakenvicius 41c32ee395 sys-libs/ldb: bump to v1.1.31
Package-Manager: Portage-2.3.6, Repoman-2.3.1
2017-07-05 16:27:04 -04:00

18 lines
701 B
Diff

--- a/wscript 2017-07-05 15:35:52.178964698 -0400
+++ b/wscript 2017-07-05 15:49:20.137977649 -0400
@@ -208,6 +208,14 @@
ldb_headers = ('include/ldb.h include/ldb_errors.h '
'include/ldb_module.h include/ldb_handlers.h')
+ # we're not currently linking against the ldap libs, but ldb.pc.in
+ # has @LDAP_LIBS@
+ bld.env.LDAP_LIBS = ''
+
+ if not 'PACKAGE_VERSION' in bld.env:
+ bld.env.PACKAGE_VERSION = VERSION
+ bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
+
bld.SAMBA_LIBRARY('ldb',
COMMON_SRC + ' ' + LDB_MAP_SRC,
deps='tevent LIBLDB_MAIN replace',