libcap: fix bootstrap

This commit is contained in:
dkwo 2025-04-05 16:40:36 -04:00 committed by Đoàn Trần Công Danh
parent 732b427cc6
commit 796d287f08

View file

@ -15,6 +15,8 @@ changelog="https://sites.google.com/site/fullycapable/release-notes-for-libcap"
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/libcap-${version}.tar.xz"
checksum=b7006c9af5168315f35fc734bf1a8d2aa70766bd8b8c4340962e05b19c35b900
subpackages="libcap-devel libcap-progs"
if [ "$CROSS_BUILD" ]; then
make_build_args+=" CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
fi
@ -23,6 +25,7 @@ if [ "$CHROOT_READY" ]; then
hostmakedepends="gperf"
makedepends="pam-devel"
make_build_args+=" PAM_CAP=yes"
subpackages+=" libcap-pam"
else
make_build_args+=" PAM_CAP=no"
fi