frr: fix musl builds

This commit is contained in:
Duncaen 2020-01-28 20:36:55 +01:00
parent 2cd334b46a
commit f5c227ef1c
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -29,6 +29,10 @@ _frr_groups="_frrvty"
_daemons="zebra staticd bgpd ospfd ospf6d ripd ripngd isisd pimd ldpd nhrpd
eigrpd babeld sharpd pbrd bfdd fabricd"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() {
autoreconf -fi
}