diff --git a/srcpkgs/xdm/template b/srcpkgs/xdm/template index 282b8fe7a54..d262f9728ee 100644 --- a/srcpkgs/xdm/template +++ b/srcpkgs/xdm/template @@ -1,7 +1,7 @@ # Template file for 'xdm' pkgname=xdm version=1.1.14 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-random-device=/dev/urandom --with-utmp-file=/var/run/utmp @@ -24,6 +24,10 @@ homepage="http://xorg.freedesktop.org" distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz" checksum=3e9bf25636797ec9e595286dd6820ecc33901439f07705eaf608ecda012c3d5f +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + pre_configure() { export DEF_USER_PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin }