Merge pull request #1950 from pullmoll/libCello

libCello: unbreak musl
This commit is contained in:
Jürgen Buchmüller 2015-07-02 22:03:01 +02:00
commit 781704cbe1

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}