aiccu: musl hack.

This commit is contained in:
Christian Neukirchen 2016-09-21 13:45:36 +02:00
parent 927114ae68
commit 0be933a856
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'aiccu'
pkgname=aiccu
version=20070115
revision=3
revision=4
wrksrc=aiccu
conf_files="etc/aiccu.conf"
makedepends="gnutls-devel"
@ -13,6 +13,10 @@ homepage="http://www.sixxs.net/tools/aiccu/"
distfiles="http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${version}.tar.gz"
checksum=2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS+="-D_LINUX_IF_ETHER_H";;
esac
post_extract() {
sed -i 's/\$(CC) \$(CFLAGS) \$(LDFLAGS) -o $@ \$(OBJS)/$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)/; /strip/d' unix-console/Makefile
}