diff --git a/srcpkgs/tcsh/template b/srcpkgs/tcsh/template index d736217b7e0..4c47602d7ef 100644 --- a/srcpkgs/tcsh/template +++ b/srcpkgs/tcsh/template @@ -1,7 +1,7 @@ # Template file for 'tcsh' pkgname=tcsh version=6.24.10 -revision=1 +revision=2 build_style=gnu-configure conf_files="/etc/csh.login /etc/csh.cshrc" makedepends="ncurses-devel automake" @@ -13,6 +13,10 @@ distfiles="https://astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz" checksum=13475c0fbeb74139d33ed793bf00ffbbb2ac2dc9fb1d44467a410760aba36664 register_shell="/bin/tcsh /bin/csh" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + post_extract() { sed -i '/define BSDWAIT/d' sh.proc.c }