* update erlang-nox to 26.2.5-1
This commit is contained in:
parent
6179d8c6de
commit
9d77b729cb
@ -7,20 +7,19 @@
|
||||
# Contributor: Ricardo Catalinas Jiménez <jimenezrick@gmail.com>
|
||||
|
||||
pkgname=erlang-nox
|
||||
pkgver=26.2.3
|
||||
pkgver=26.2.5
|
||||
pkgrel=1
|
||||
_docver=26.1
|
||||
# https://github.com/erlang/otp/tags
|
||||
_commit=928d03e6da416208fce7b9a7dbbfbb4f25d26c37 # OTP-26.2.3
|
||||
_commit=412bff5196fc0ab88a61fe37ca30e5226fc7872d # OTP-26.2.5
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
pkgdesc='General-purpose concurrent functional programming language (headless version)'
|
||||
url='https://erlang.org/'
|
||||
license=(Apache)
|
||||
depends=(ncurses openssl)
|
||||
makedepends=(fop git java-environment libxslt lksctp-tools unixodbc)
|
||||
makedepends=(fop git java-environment libxslt lksctp-tools)
|
||||
conflicts=(erlang)
|
||||
optdepends=('erlang-unixodbc: database support'
|
||||
'java-environment: for Java support'
|
||||
optdepends=('java-environment: for Java support'
|
||||
'lksctp-tools: for SCTP support')
|
||||
options=(staticlibs)
|
||||
source=(epmd.conf
|
||||
@ -36,7 +35,7 @@ b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cd
|
||||
|
||||
prepare() {
|
||||
# adjust how LDFLAGS are handled
|
||||
sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/{odbc/c_src,megaco/src/flex}/Makefile.in
|
||||
sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/megaco/src/flex/Makefile.in
|
||||
|
||||
# let the Java bindings support version 11 or later, ref https://gitlab.archlinux.org/archlinux/packaging/packages/erlang/-/issues/1
|
||||
sed -i 's/^JAVA_OPTIONS =/JAVA_OPTIONS = --release 11/g' otp/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
|
||||
@ -44,6 +43,7 @@ prepare() {
|
||||
|
||||
build() {
|
||||
cd otp
|
||||
|
||||
export CFLAGS+=' -ffat-lto-objects'
|
||||
./otp_build autoconf
|
||||
./configure \
|
||||
@ -51,7 +51,8 @@ build() {
|
||||
--enable-shared-zlib \
|
||||
--enable-ssl=dynamic-ssl-lib \
|
||||
--prefix=/usr \
|
||||
--with-odbc
|
||||
--without-odbc
|
||||
|
||||
DOC_TARGETS=chunks make all
|
||||
DOC_TARGETS=chunks make docs
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user