sic: fix musl

This commit is contained in:
Ypnose 2015-06-14 12:20:05 +02:00
parent 6618b93ff6
commit 2304b3718e

View file

@ -1,7 +1,7 @@
# Template file for 'sic'
pkgname=sic
version=1.2
revision=1
revision=2
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS="
short_desc="Simple irc client"
@ -13,6 +13,7 @@ checksum="ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185"
replaces="sic>=0"
pre_build() {
sed -i '10i #include <select.h>' sic.c
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk