aiccu: musl hack.
This commit is contained in:
parent
927114ae68
commit
0be933a856
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'aiccu'
|
# Template file for 'aiccu'
|
||||||
pkgname=aiccu
|
pkgname=aiccu
|
||||||
version=20070115
|
version=20070115
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc=aiccu
|
wrksrc=aiccu
|
||||||
conf_files="etc/aiccu.conf"
|
conf_files="etc/aiccu.conf"
|
||||||
makedepends="gnutls-devel"
|
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"
|
distfiles="http://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${version}.tar.gz"
|
||||||
checksum=2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760
|
checksum=2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) CFLAGS+="-D_LINUX_IF_ETHER_H";;
|
||||||
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/\$(CC) \$(CFLAGS) \$(LDFLAGS) -o $@ \$(OBJS)/$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)/; /strip/d' unix-console/Makefile
|
sed -i 's/\$(CC) \$(CFLAGS) \$(LDFLAGS) -o $@ \$(OBJS)/$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)/; /strip/d' unix-console/Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue