mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
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.
20 lines
579 B
C
20 lines
579 B
C
--- lib/replace/replace.c.orig 2023-11-22 12:09:13 UTC
|
|
+++ lib/replace/replace.c
|
|
@@ -560,6 +560,7 @@ long long int rep_strtoll(const char *str, char **endp
|
|
|
|
|
|
#ifndef HAVE_STRTOULL
|
|
+#warning NO_HAVE_STRTOULL
|
|
unsigned long long int rep_strtoull(const char *str, char **endptr, int base)
|
|
{
|
|
#ifdef HAVE_STRTOUQ
|
|
@@ -573,7 +574,9 @@ unsigned long long int rep_strtoull(const char *str, c
|
|
#endif
|
|
}
|
|
#else
|
|
+#warning HAVE_STROULL
|
|
#ifdef HAVE_BSD_STRTOLL
|
|
+#warning HAVE_BSD_STROLL
|
|
#undef strtoull
|
|
unsigned long long int rep_strtoull(const char *str, char **endptr, int base)
|
|
{
|