radvd: fix build on glibc.
This commit is contained in:
parent
8a0a9eecda
commit
a8e1027743
@ -15,7 +15,11 @@ distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
|
|||||||
checksum=04636288fc79fa151260eeb2bea1b05942f59c31f01358c57f930a4eb45b5acc
|
checksum=04636288fc79fa151260eeb2bea1b05942f59c31f01358c57f930a4eb45b5acc
|
||||||
|
|
||||||
post_extract() {
|
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() {
|
post_install() {
|
||||||
vsv radvd
|
vsv radvd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user