community/erlang to 24.2-2

This commit is contained in:
Kevin Mihelich 2022-01-26 01:50:42 +00:00
parent a8d78c5739
commit 6897155e38

View file

@ -12,13 +12,13 @@
pkgbase=erlang
pkgname=(erlang erlang-unixodbc)
pkgver=24.2
pkgrel=1
pkgrel=2
_docver=24.2
arch=(x86_64)
url='https://erlang.org'
license=(Apache)
makedepends=(fop git glu java-environment libxslt lksctp-tools mesa perl unixodbc wxgtk3)
options=(staticlibs)
options=(staticlibs !strip)
source=(epmd.conf
epmd.service
epmd.socket
@ -35,9 +35,9 @@ prepare() {
mkdir -p bin
ln -fs /usr/bin/wx-config-gtk3 bin/wx-config
export PATH="$srcdir/bin:$PATH"
sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/megaco/src/flex/Makefile.in
sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/odbc/c_src/Makefile.in
# adjust how LDFLAGS are handled
sed -i 's/^LDFLAGS = /LDFLAGS += /g' \
otp/lib/{odbc/c_src,megaco/src/flex}/Makefile.in
}
build() {