perl: depends on libxcrypt-devel

When crypt support is enabled, the public header files also includes
crypt.h in core_perl/CORE/reentr.h
This commit is contained in:
oreo639 2023-12-29 07:27:21 -08:00 committed by Leah Neukirchen
parent 8f85eae440
commit b415f11d1c

View file

@ -1,7 +1,7 @@
# Template file for 'perl' # Template file for 'perl'
pkgname=perl pkgname=perl
version=5.38.2 version=5.38.2
revision=2 revision=3
_perl_cross_version=1.5.2 _perl_cross_version=1.5.2
build_style=gnu-configure build_style=gnu-configure
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel" makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
@ -20,6 +20,7 @@ skip_extraction=perl-cross-${_perl_cross_version}.tar.gz
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel" makedepends+=" libxcrypt-devel"
depends+=" libxcrypt-devel"
fi fi
# Before updating this package to a new major version, run # Before updating this package to a new major version, run