This port is based on ldb25. The changes are: - Fix checks for Python support The bsd.port.pre.mk was included too early and USES=python wasn't processed as expected. As a result, the checks for Python support were broken. - Switch from waf to configure and make. Upstream wants us to do it this way. Otherwise, the build system produces the following error message: > ===> Configuring for ldb28-2.8.1 > PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make! So, set HAS_CONFIGURE and BINARY_ALIAS to make the port build without waf. - Clean up the makefile (sort variables and fix indentation) - Drop the NO_PYTHON variable. It complicates the makefile unnecessarily. It is still possible to disable Python support by configuring the PYTHON3 option. - Use WITH_DEBUG instead of option DEBUG. - Enable PYTHON3 by default. The PYTHON3 option is required by net/samba419 to build without the bundled dependencies. The primary purpose of databases/ldb28 is to make it possible, so enable Python support by default. PR: 280510 Sponsored by: Klara, Inc.
16 lines
507 B
C
16 lines
507 B
C
--- include/ldb_module.h.orig 2023-03-29 13:42:11 UTC
|
|
+++ include/ldb_module.h
|
|
@@ -108,6 +108,12 @@ struct ldb_module;
|
|
*/
|
|
#define LDB_FLAG_INTERNAL_ACCESS_CHECKED 0x400
|
|
|
|
+/*
|
|
+ * indicates that this element's values are shared with another element (for
|
|
+ * example, in a shallow copy of an ldb_message) and should not be freed
|
|
+ */
|
|
+#define LDB_FLAG_INTERNAL_SHARED_VALUES 0x200
|
|
+
|
|
/* an extended match rule that always fails to match */
|
|
#define SAMBA_LDAP_MATCH_ALWAYS_FALSE "1.3.6.1.4.1.7165.4.5.1"
|
|
|