diff --git a/srcpkgs/ppp/template b/srcpkgs/ppp/template index 7368879f494..013dd2a03b9 100644 --- a/srcpkgs/ppp/template +++ b/srcpkgs/ppp/template @@ -6,7 +6,7 @@ # When update this package pkgname=ppp version=2.4.9 -revision=3 +revision=4 makedepends="libpcap-devel openssl-devel" short_desc="PPP (Point-to-Point Protocol) daemon" maintainer="Orphaned " @@ -26,6 +26,10 @@ conf_files=" /etc/ppp/chap-secrets /etc/ppp/pap-secrets" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + do_configure() { ./configure --prefix=/usr --cc="${CC}" --cflags="${CFLAGS}" }