From a7dc1b6eccdaca85060954fa9bbb0404530f863a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 Mar 2020 11:01:59 +0100 Subject: [PATCH] ppp: unbreak musl build. Close #20150 --- srcpkgs/ppp/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/ppp/template b/srcpkgs/ppp/template index a0863cec565..d8974906ffb 100644 --- a/srcpkgs/ppp/template +++ b/srcpkgs/ppp/template @@ -23,6 +23,10 @@ conf_files=" CFLAGS="-D_GNU_SOURCE" +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + do_configure() { # Custom CFLAGS. find -name "Makefile.linux" -exec sed -i "{}" \