extra/erlang to 27.1-1

This commit is contained in:
Kevin Mihelich 2024-09-25 17:53:34 +00:00
parent cba457ca5f
commit f6879d55a9
2 changed files with 8 additions and 9 deletions

View file

@ -1,5 +1,5 @@
pkgbase = erlang
pkgver = 27.0.1
pkgver = 27.1
pkgrel = 1
url = https://erlang.org
arch = x86_64
@ -18,12 +18,12 @@ pkgbase = erlang
source = epmd.service
source = epmd.socket
source = https://github.com/erlang/otp/releases/download/OTP-27.0/otp_doc_man_27.0.tar.gz
source = git+https://github.com/erlang/otp#commit=ee9628e7ed09ef02e767994a6da5b7a225316aaa
source = git+https://github.com/erlang/otp#tag=OTP-27.1
b2sums = 1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87
b2sums = 1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f
b2sums = c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553
b2sums = b55614bc3c795813eb2d73dc990f740efc8408a3639d98569adb9718ee140eb04ac2289ca3cd764d2610ac2138dfd6173b50bcae58b3971b51f4819cc33420e3
b2sums = 99300d27abe6fc6a5c1ace5315569b4abf17913488aafa7937fcc57138cc44cf7d0e28f6590b0e97c4018d55aa00aae84295aa4f1161ef036f47b6edb5113510
b2sums = 5541b940a3b5bfa478ddc96488bc91758357721a0019d2e70c5f90d14c6fb1706e8adc6a8a22d01ac961d3d3a62e7a9fecec912aa00cdb6312080e704a5273be
pkgname = erlang
pkgdesc = General-purpose concurrent functional programming language developed by Ericsson

View file

@ -10,11 +10,11 @@
# - configure with --disable-pgo to fix ARM FTBFS
pkgname=erlang
pkgver=27.0.1
pkgver=27.1
_docver=27.0
pkgrel=1
# https://github.com/erlang/otp/tags
_commit=ee9628e7ed09ef02e767994a6da5b7a225316aaa # OTP-27.0.1
_commit= # OTP-27.1
arch=(x86_64)
url='https://erlang.org'
license=(Apache)
@ -24,17 +24,15 @@ source=(epmd.conf
epmd.service
epmd.socket
"https://github.com/erlang/otp/releases/download/OTP-$_docver/otp_doc_man_$_docver.tar.gz"
"git+https://github.com/erlang/otp#commit=$_commit")
"git+https://github.com/erlang/otp#tag=OTP-$pkgver")
b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87'
'1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f'
'c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553'
'b55614bc3c795813eb2d73dc990f740efc8408a3639d98569adb9718ee140eb04ac2289ca3cd764d2610ac2138dfd6173b50bcae58b3971b51f4819cc33420e3'
'99300d27abe6fc6a5c1ace5315569b4abf17913488aafa7937fcc57138cc44cf7d0e28f6590b0e97c4018d55aa00aae84295aa4f1161ef036f47b6edb5113510')
'5541b940a3b5bfa478ddc96488bc91758357721a0019d2e70c5f90d14c6fb1706e8adc6a8a22d01ac961d3d3a62e7a9fecec912aa00cdb6312080e704a5273be')
prepare() {
# Adjust how LDFLAGS are handled
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
}
@ -43,6 +41,7 @@ build() {
cd otp
#export CFLAGS+=' -ffat-lto-objects'
./otp_build autoconf
./configure \
--enable-threads \