mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-libs/ldb: fix tevent detection
Closes: https://bugs.gentoo.org/590026 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
12
sys-libs/ldb/files/ldb-2.5.2-skip-wav-tevent-check.patch
Normal file
12
sys-libs/ldb/files/ldb-2.5.2-skip-wav-tevent-check.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- ldb-1.3.6/lib/tevent/wscript
|
||||
+++ ldb-1.3.6/lib/tevent/wscript
|
||||
@@ -34,8 +34,7 @@
|
||||
if conf.CHECK_BUNDLED_SYSTEM_PKG('tevent', minversion=VERSION,
|
||||
onlyif='talloc', implied_deps='replace talloc'):
|
||||
conf.define('USING_SYSTEM_TEVENT', 1)
|
||||
- if not conf.env.disable_python and \
|
||||
- conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):
|
||||
+ if not conf.env.disable_python:
|
||||
conf.define('USING_SYSTEM_PYTEVENT', 1)
|
||||
|
||||
if conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
|
||||
@@ -53,6 +53,7 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
|
||||
"${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
|
||||
"${FILESDIR}"/${PN}-2.5.2-skip-waf-tevent-check.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -54,6 +54,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
|
||||
"${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
|
||||
"${FILESDIR}"/${PN}-2.4.2-skip-32bit-time_t-tests.patch
|
||||
"${FILESDIR}"/${PN}-2.5.2-skip-waf-tevent-check.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -54,6 +54,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
|
||||
"${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
|
||||
"${FILESDIR}"/${PN}-2.4.2-skip-32bit-time_t-tests.patch
|
||||
"${FILESDIR}"/${PN}-2.5.2-skip-waf-tevent-check.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Reference in New Issue
Block a user