radvd: fix for musl.

This commit is contained in:
Christian Neukirchen 2015-05-16 16:15:09 +02:00
parent 240c7e18fd
commit d427ee9d00
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'radvd'
pkgname=radvd
version=2.11
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config flex"
makedepends="check-devel libdaemon-devel"
@ -14,6 +14,9 @@ homepage="http://www.litech.org/radvd/"
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
}
post_install() {
vsv radvd
vconf radvd.conf.example radvd.conf