Date: Wednesday, January 26, 2022 @ 01:07:23
  Author: arodseth
Revision: 1115611

upgpkg: erlang 24.2-2

Modified:
  erlang/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-01-26 00:05:53 UTC (rev 1115610)
+++ PKGBUILD    2022-01-26 01:07:23 UTC (rev 1115611)
@@ -9,13 +9,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
@@ -32,9 +32,9 @@
   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() {

Reply via email to