Alexander Rødseth pushed to branch main at Arch Linux / Packaging / Packages / 
erlang-nox


Commits:
a6d155e6 by Alexander F. Rødseth at 2023-12-07T17:30:57+01:00
Compile jinterface with --release 11

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -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


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,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)
@@ -31,6 +31,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'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/erlang-nox/-/commit/a6d155e6db5a290f09df9ef4681da6ecd48647cf

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/erlang-nox/-/commit/a6d155e6db5a290f09df9ef4681da6ecd48647cf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to