[arch-commits] Commit in clthreads/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Sep 1 14:34:08 UTC 2018


    Date: Saturday, September 1, 2018 @ 14:34:07
  Author: dvzrv
Revision: 375949

upgpkg: clthreads 2.4.2-3

Fixing local call to ldconfig properly.

Modified:
  clthreads/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-01 14:30:06 UTC (rev 375948)
+++ PKGBUILD	2018-09-01 14:34:07 UTC (rev 375949)
@@ -8,7 +8,7 @@
 
 pkgname=clthreads
 pkgver=2.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="C++ wrapper library around the POSIX threads API"
 arch=('x86_64')
 url="https://kokkinizita.linuxaudio.org/linuxaudio/"
@@ -20,10 +20,10 @@
 prepare() {
   cd "${pkgname}-${pkgver}/source"
   # remove optimization
-  # patch call to ldconfig to be local (upstream fix requested)
-  # remove wrongly applied use of PREFIX
+  # call ldconfig in local context
+  # remove wrongly applied use of PREFIX (line 54,55)
   sed -e '/native/d' \
-      -e 's/ldconfig/& -N $(PREFIX)\/$(LIBDIR)/' \
+      -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
       -e 's/(PREFIX)\/\$//g' \
       -i Makefile
 }



More information about the arch-commits mailing list