extra/erlang-nox to 26.1.2-2

This commit is contained in:
Kevin Mihelich 2023-12-07 19:01:32 +00:00
parent 47fdb69407
commit 236b11a5c2
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pkgbase = erlang-nox
pkgdesc = General-purpose concurrent functional programming language (headless version)
pkgver = 26.1.2
pkgrel = 1
pkgrel = 2
url = https://erlang.org/
arch = x86_64
license = Apache

View file

@ -10,7 +10,7 @@
pkgname=erlang-nox
pkgver=26.1.2
pkgrel=1
pkgrel=2
_docver=26.1
pkgdesc='General-purpose concurrent functional programming language (headless version)'
arch=(x86_64)
@ -34,6 +34,12 @@ b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cd
'2eed8963d425fe5ff3cd02eeacfd0eb86051225578613e374b71818a91e4f0b6953c4297a06ee59803d9421730c93871660ce66150a13d808f122a6f84f74f2a'
'SKIP')
prepare() {
# 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
}
build() {
cd otp
#export CFLAGS+=' -ffat-lto-objects'