extra/erlang to 26.1.2-2

This commit is contained in:
Kevin Mihelich 2023-12-07 19:01:15 +00:00
parent 5d4c5ab619
commit 47fdb69407
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pkgbase = erlang
pkgver = 26.1.2
pkgrel = 1
pkgrel = 2
url = https://erlang.org
arch = x86_64
license = Apache

View file

@ -12,7 +12,7 @@
pkgbase=erlang
pkgname=(erlang erlang-unixodbc)
pkgver=26.1.2
pkgrel=1
pkgrel=2
_docver=26.1
arch=(x86_64)
url='https://erlang.org'
@ -33,6 +33,9 @@ b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cd
prepare() {
# adjust how LDFLAGS are handled
sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/{odbc/c_src,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
}
build() {