tcsh: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-08 17:05:16 -07:00 committed by classabbyamp
parent d00d7bd8b7
commit f919fb0522

View file

@ -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
}