diff --git a/srcpkgs/perl/template b/srcpkgs/perl/template index bd9c34e0be9..b82da36b50f 100644 --- a/srcpkgs/perl/template +++ b/srcpkgs/perl/template @@ -1,7 +1,7 @@ # Template file for 'perl' pkgname=perl version=5.38.2 -revision=1 +revision=2 _perl_cross_version=1.5.2 build_style=gnu-configure makedepends="zlib-devel bzip2-devel gdbm-devel db-devel" @@ -18,6 +18,10 @@ checksum="a0a31534451eb7b83c7d6594a497543a54d488bc90ca00f5e34762577f40655e skip_extraction=perl-cross-${_perl_cross_version}.tar.gz +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + # Before updating this package to a new major version, run # ${FILESDIR}/update-perl-provides.pl ${wrksrc} perl/template # to find the list of built in packages.