diff --git a/srcpkgs/FreeRADIUS/template b/srcpkgs/FreeRADIUS/template index 90a4c662bc9..d438d91d787 100644 --- a/srcpkgs/FreeRADIUS/template +++ b/srcpkgs/FreeRADIUS/template @@ -1,7 +1,7 @@ # Template file for 'FreeRADIUS' pkgname=FreeRADIUS version=3.0.26 -revision=3 +revision=4 build_style=gnu-configure makedepends="talloc-devel openssl-devel mit-krb5-devel pam-devel \ libmariadbclient-devel postgresql-libs-devel json-c-devel" @@ -15,6 +15,10 @@ nocross=yes # Not supported by upstream system_accounts="_freeradius" make_dirs="/etc/raddb 0750 _freeradius _freeradius" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + pre_install() { # FreeRADIUS uses 'R' instead of 'DESTDIR' export R=${DESTDIR}