ldb: update comment for musl workaround.

Close: #24616
This commit is contained in:
Érico Rolim 2020-09-02 18:36:14 -03:00 committed by Đoàn Trần Công Danh
parent 8475a59f7b
commit 2b39587067

View file

@ -7,7 +7,7 @@ configure_args="--with-modulesdir=/usr/lib/ldb/modules"
hostmakedepends="python pkg-config docbook-xsl libxslt"
makedepends="tdb-devel tevent-devel popt-devel talloc-devel lmdb-devel"
checkdepends="cmocka-devel"
short_desc="An LDAP-like database from samba"
short_desc="LDAP-like database from samba"
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="LGPL-3.0-or-later"
homepage="https://www.samba.org/ldb/"
@ -16,7 +16,7 @@ checksum=232e54b87c53210a6861424ad411b04dbfa0f2ca4bc463aefea188158e0cc963
nocross="see srcpkgs/tdb (cross-32bit.answers)."
# workaround broken uintptr_t definition on musl
# workaround for cmocka's broken uintptr_t definition on musl
if [ "$XBPS_TARGET_WORDSIZE" = "64" -a "$XBPS_TARGET_LIBC" = "musl" ]; then
CFLAGS+=" -D__WORDSIZE=64"
fi