extra/erlang-nox to 26.2.4-1

This commit is contained in:
David Beauchamp 2024-05-01 09:47:51 -04:00
parent 1c43f7939a
commit c86601e2a7
2 changed files with 7 additions and 9 deletions

View file

@ -1,6 +1,6 @@
pkgbase = erlang-nox pkgbase = erlang-nox
pkgdesc = General-purpose concurrent functional programming language (headless version) pkgdesc = General-purpose concurrent functional programming language (headless version)
pkgver = 26.2.3 pkgver = 26.2.4
pkgrel = 1 pkgrel = 1
url = https://erlang.org/ url = https://erlang.org/
arch = x86_64 arch = x86_64
@ -13,7 +13,6 @@ pkgbase = erlang-nox
makedepends = unixodbc makedepends = unixodbc
depends = ncurses depends = ncurses
depends = openssl depends = openssl
optdepends = erlang-unixodbc: database support
optdepends = java-environment: for Java support optdepends = java-environment: for Java support
optdepends = lksctp-tools: for SCTP support optdepends = lksctp-tools: for SCTP support
conflicts = erlang conflicts = erlang
@ -22,7 +21,7 @@ pkgbase = erlang-nox
source = epmd.service source = epmd.service
source = epmd.socket source = epmd.socket
source = https://erlang.org//download/otp_doc_man_26.1.tar.gz source = https://erlang.org//download/otp_doc_man_26.1.tar.gz
source = git+https://github.com/erlang/otp#commit=928d03e6da416208fce7b9a7dbbfbb4f25d26c37 source = git+https://github.com/erlang/otp#commit=e26c5206dc98ec1b8f978fceaa61fd1354266ccb
b2sums = 1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87 b2sums = 1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87
b2sums = 1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f b2sums = 1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f
b2sums = c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553 b2sums = c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553

View file

@ -9,11 +9,11 @@
# - configure with --disable-pgo to fix ARM FTBFS # - configure with --disable-pgo to fix ARM FTBFS
pkgname=erlang-nox pkgname=erlang-nox
pkgver=26.2.3 pkgver=26.2.4
pkgrel=1 pkgrel=1
_docver=26.1 _docver=26.1
# https://github.com/erlang/otp/tags # https://github.com/erlang/otp/tags
_commit=928d03e6da416208fce7b9a7dbbfbb4f25d26c37 # OTP-26.2.3 _commit=e26c5206dc98ec1b8f978fceaa61fd1354266ccb # OTP-26.2.4
arch=(x86_64) arch=(x86_64)
pkgdesc='General-purpose concurrent functional programming language (headless version)' pkgdesc='General-purpose concurrent functional programming language (headless version)'
url='https://erlang.org/' url='https://erlang.org/'
@ -21,8 +21,7 @@ license=(Apache)
depends=(ncurses openssl) depends=(ncurses openssl)
makedepends=(fop git java-environment libxslt lksctp-tools unixodbc) makedepends=(fop git java-environment libxslt lksctp-tools unixodbc)
conflicts=(erlang) conflicts=(erlang)
optdepends=('erlang-unixodbc: database support' optdepends=('java-environment: for Java support'
'java-environment: for Java support'
'lksctp-tools: for SCTP support') 'lksctp-tools: for SCTP support')
options=(staticlibs) options=(staticlibs)
source=(epmd.conf source=(epmd.conf
@ -38,7 +37,7 @@ b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cd
prepare() { prepare() {
# adjust how LDFLAGS are handled # 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 # 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 sed -i 's/^JAVA_OPTIONS =/JAVA_OPTIONS = --release 11/g' otp/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
@ -53,7 +52,7 @@ build() {
--enable-shared-zlib \ --enable-shared-zlib \
--enable-ssl=dynamic-ssl-lib \ --enable-ssl=dynamic-ssl-lib \
--prefix=/usr \ --prefix=/usr \
--with-odbc \ --without-odbc \
--disable-pgo --disable-pgo
DOC_TARGETS=chunks make all DOC_TARGETS=chunks make all
DOC_TARGETS=chunks make docs DOC_TARGETS=chunks make docs