whois: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 14:02:42 -07:00 committed by classabbyamp
parent 3b30843ad5
commit 00acd19fdf

View file

@ -1,7 +1,7 @@
# Template file for 'whois'
pkgname=whois
version=5.5.20
revision=1
revision=2
build_style=gnu-makefile
make_build_args="HAVE_ICONV=1 CONFIG_FILE=/etc/whois.conf"
make_install_args="BASEDIR=\${DESTDIR}"
@ -16,6 +16,10 @@ changelog="https://raw.githubusercontent.com/rfc1036/whois/next/debian/changelog
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=42085102dfad82067abe2d5d1cfca59586573dee528718559b022e762bb85cf1
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
alternatives="
whois:whois:/usr/bin/gwhois
whois:whois.1:/usr/share/man/man1/gwhois.1