diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD index e1487388f..7ed2bfc06 100644 --- a/community/erlang/PKGBUILD +++ b/community/erlang/PKGBUILD @@ -12,7 +12,7 @@ pkgbase=erlang pkgname=(erlang erlang-unixodbc) pkgver=24.0.4 -pkgrel=1 +pkgrel=2 _docver=24.0 arch=(x86_64) url='https://erlang.org' @@ -31,10 +31,11 @@ b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cd 'SKIP') prepare() { - # Hack so that erlang can find wx-config-gtk3 as wx-config in the $PATH + # use a hack so that erlang can find wx-config-gtk3 as wx-config in the $PATH 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 } @@ -56,7 +57,7 @@ build() { package_erlang() { pkgdesc='General-purpose concurrent functional programming language developed by Ericsson' - depends=(glu ncurses openssl wxgtk3) + depends=(glu ncurses openssl webkit2gtk wxgtk3) optdepends=('erlang-unixodbc: database support' 'java-environment: for Java support' 'lksctp-tools: for SCTP support')