diff --git a/srcpkgs/proftpd/template b/srcpkgs/proftpd/template index 8e9985cc0b1..c2f62511649 100644 --- a/srcpkgs/proftpd/template +++ b/srcpkgs/proftpd/template @@ -1,7 +1,7 @@ # Template file for 'proftpd' pkgname=proftpd version=1.3.7e -revision=1 +revision=2 build_style=gnu-configure makedepends="libcap-devel" short_desc="Highly configurable GPL-licensed FTP server software" @@ -13,6 +13,10 @@ distfiles="https://github.com/proftpd/proftpd/archive/v${version}.tar.gz" checksum=6e716a3b53ee069290399fce6dccf4c229fafe6ec2cb14db3778b7aa3f9a8c92 conf_files="/etc/proftpd.conf" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + proftpd-devel_package() { short_desc+=" - development files" depends="proftpd>=${version}_${revision}"