ppp: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 14:18:52 -07:00 committed by classabbyamp
parent 7d40cd0fcf
commit 58004c2ce7

View file

@ -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 <orphan@voidlinux.org>"
@ -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}"
}