diff --git a/srcpkgs/erlang/template b/srcpkgs/erlang/template index fbe71e73447..5268947c915 100644 --- a/srcpkgs/erlang/template +++ b/srcpkgs/erlang/template @@ -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 " @@ -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.