openssl: ignore -c_rehash on bootstrapping

This commit is contained in:
Đoàn Trần Công Danh 2021-04-03 10:59:21 +07:00
parent 402abbd3f1
commit 388407a3dc

View file

@ -26,6 +26,9 @@ build_options=asm
if [ "$CHROOT_READY" ]; then
hostmakedepends="perl"
build_options_default="asm"
else
# openssl-c_rehash depends on perl, ignore on bootstrap
subpackages="libcrypto1.1 libssl1.1 openssl-devel"
fi
case $XBPS_TARGET_MACHINE in
@ -49,6 +52,12 @@ pre_build() {
make ${makejobs} depend
}
post_install() {
if [ ! "$CHROOT_READY" ]; then
rm -f "${DESTDIR}/usr/bin/c_rehash"
fi
}
libcrypto1.1_package() {
short_desc+=" - crypto library"
pkg_install() {