libCello: unbreak musl

This commit is contained in:
jbu 2015-07-02 19:43:58 +02:00
parent 638fc9a929
commit ef6ae86a29
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libcello'
pkgname=libCello
version=1.1.7
revision=2
revision=3
short_desc="Higher level programming in C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.libcello.org/"
@ -9,6 +9,11 @@ license="BSD"
distfiles="http://$pkgname.org/static/$pkgname-$version.tar.gz"
checksum=2273fe8257109c2dd19054beecd83ddcc780ec565a1ad02721e24efa74082908
post_configure() {
# There is no include <execinfo.h> in musl libc
sed -e "s;defined(__unix__);(defined(__unix__) \&\& defined(__GLIBC__));" \
-i src/Exception.c
}
do_build() {
sed -i 's,CFLAGS =,CFLAGS +=,' Makefile
make CC=$CC ${makejobs}