mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
erlang: update to 18.0.
This commit is contained in:
parent
b32ad73deb
commit
005e74c10b
1 changed files with 9 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'erlang'
|
# Template file for 'erlang'
|
||||||
pkgname=erlang
|
pkgname=erlang
|
||||||
version=17.5
|
version=18.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc=otp_src_${version}
|
wrksrc=otp_src_${version}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-smp-support"
|
configure_args="--enable-smp-support"
|
||||||
|
@ -10,18 +10,22 @@ makedepends="ncurses-devel unixodbc-devel libressl-devel zlib-devel
|
||||||
$(vopt_if x11 'wxGTK-devel glu-devel')"
|
$(vopt_if x11 'wxGTK-devel glu-devel')"
|
||||||
short_desc="Concurrent functional programming language developed by Ericsson"
|
short_desc="Concurrent functional programming language developed by Ericsson"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="custom"
|
license="Apache-2.0"
|
||||||
homepage="http://www.erlang.org/"
|
homepage="http://www.erlang.org/"
|
||||||
distfiles="http://www.erlang.org/download/otp_src_${version}.tar.gz
|
distfiles="http://www.erlang.org/download/otp_src_${version}.tar.gz
|
||||||
http://www.erlang.org/download/otp_doc_man_${version}.tar.gz"
|
http://www.erlang.org/download/otp_doc_man_${version}.tar.gz"
|
||||||
checksum="3c28820c981b30c50df8ac2a4a238e5813454fa3ed2ad530bc7948a282846474
|
checksum="a0b69da34b4f218eb7d63d9e96fc120aa7257bb6c37a0f40fb388e188b4111aa
|
||||||
85b1b2a1011fc01af550f1fe9e5a599a4c5f2a35d264d2804af1d05590a857c3"
|
e44f0ec36ee0683867bc2aa9cc7fbb020d9dfd57338f37b98dcd0771f5b95673"
|
||||||
|
|
||||||
build_options="x11"
|
build_options="x11"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/__uint32_t/uint32_t/' erts/emulator/sys/common/erl_poll.h
|
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
|
sed -i 's/__ANDROID__/__linux__/' lib/erl_interface/src/connect/ei_resolve.c
|
||||||
|
sed -i -e 's/#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3)/& || __linux__/' \
|
||||||
|
-e '/!defined(__GLIBC__) && !defined(__DARWIN__) && !defined(__NetBSD__)/s/__GLIBC__/__linux__/' \
|
||||||
|
-e '/#define _NSIG NSIG/d' \
|
||||||
|
erts/emulator/hipe/hipe_x86_signal.c
|
||||||
}
|
}
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
@ -40,5 +44,4 @@ post_install() {
|
||||||
vcopy ../man/man3 usr/lib/erlang/man
|
vcopy ../man/man3 usr/lib/erlang/man
|
||||||
vcopy ../man/man4 usr/lib/erlang/man
|
vcopy ../man/man4 usr/lib/erlang/man
|
||||||
vcopy ../man/man7 usr/lib/erlang/man
|
vcopy ../man/man7 usr/lib/erlang/man
|
||||||
vlicense EPLICENCE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue