diff --git a/srcpkgs/xscreensaver/template b/srcpkgs/xscreensaver/template index e2cdb7eb95e26e..c1cff95a1e833f 100644 --- a/srcpkgs/xscreensaver/template +++ b/srcpkgs/xscreensaver/template @@ -1,7 +1,7 @@ # Template file for 'xscreensaver' pkgname=xscreensaver version=6.08 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-pam --with-login-manager --includedir=${XBPS_CROSS_BASE}/include @@ -19,6 +19,10 @@ changelog="https://www.jwz.org/xscreensaver/changelog.html" distfiles="https://www.jwz.org/xscreensaver/xscreensaver-${version}.tar.gz" checksum=5cf52ba525ceecf94b2f2bd63485ebdf318e12fcc0f2adad7d4c106d855e76a3 +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + pre_configure() { mkdir -p /usr/share/X11/app-defaults }