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

Jelle van der Waa jelle at gemini.archlinux.org
Thu Mar 10 08:10:09 UTC 2022


    Date: Thursday, March 10, 2022 @ 08:10:08
  Author: jelle
Revision: 439388

Fix FS#73333

Make sure libzstd.pc no longer sets it's prefix to /usr/local

Modified:
  zstd/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-10 08:04:57 UTC (rev 439387)
+++ PKGBUILD	2022-03-10 08:10:08 UTC (rev 439388)
@@ -5,7 +5,7 @@
 
 pkgname=zstd
 pkgver=1.5.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Zstandard - Fast real-time compression algorithm'
 url='https://facebook.github.io/zstd/'
 arch=(x86_64)
@@ -23,7 +23,8 @@
 
 build() {
   cd ${pkgname}-${pkgver}
-  make
+  # Set PREFIX, as libzstd.pc is otherwise generated with -L/usr/local
+  make PREFIX=/usr
   make -C contrib/pzstd
 }
 



More information about the arch-commits mailing list