diff --git a/srcpkgs/radvd/template b/srcpkgs/radvd/template index 44de7e45dde..051f9cc2262 100644 --- a/srcpkgs/radvd/template +++ b/srcpkgs/radvd/template @@ -15,7 +15,11 @@ distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz" checksum=04636288fc79fa151260eeb2bea1b05942f59c31f01358c57f930a4eb45b5acc post_extract() { - sed -i 's/ARPHRD_IEEE802154_PHY/ARPHRD_IEEE802154_MONITOR/g' device-linux.c + case "$XBPS_TARGET_MACHINE" in + *-musl) + sed -i 's/ARPHRD_IEEE802154_PHY/ARPHRD_IEEE802154_MONITOR/g' \ + device-linux.c + esac } post_install() { vsv radvd