diff --git a/srcpkgs/whois/template b/srcpkgs/whois/template index 20399355b80..c76dbeaa896 100644 --- a/srcpkgs/whois/template +++ b/srcpkgs/whois/template @@ -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