erlang: musl tweaks.

This commit is contained in:
Christian Neukirchen 2015-05-11 17:54:15 +02:00
parent d11b2fd577
commit 80d36acb58

View File

@ -1,12 +1,12 @@
# Template file for 'erlang'
pkgname=erlang
version=17.5
revision=1
revision=2
wrksrc=otp_src_${version}
build_style=gnu-configure
configure_args="--enable-smp-support"
hostmakedepends="perl libxslt"
makedepends="ncurses-devel unixodbc-devel libressl-devel
makedepends="ncurses-devel unixodbc-devel libressl-devel zlib-devel
$(vopt_if x11 'wxGTK-devel glu-devel')"
short_desc="Concurrent functional programming language developed by Ericsson"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
@ -19,6 +19,10 @@ checksum="3c28820c981b30c50df8ac2a4a238e5813454fa3ed2ad530bc7948a282846474
build_options="x11"
post_extract() {
sed -i 's/__uint32_t/uint32_t/' erts/emulator/sys/common/erl_poll.h
sed -i 's/__ANDROID__/__linux__/' lib/erl_interface/src/connect/ei_resolve.c
}
pre_configure() {
if [ "$CROSS_BUILD" ]; then
# Build the bootstrap compiler for the host platform.