openssl: ignore -c_rehash on bootstrapping
This commit is contained in:
parent
402abbd3f1
commit
388407a3dc
1 changed files with 9 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue