pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/brotli
Module Name: pkgsrc
Committed By: nros
Date: Sun Mar 21 19:24:24 UTC 2021
Modified Files:
pkgsrc/archivers/brotli: Makefile distinfo
Added Files:
pkgsrc/archivers/brotli/patches: patch-scripts_libbrotlicommon.pc.in
patch-scripts_libbrotlidec.pc.in patch-scripts_libbrotlienc.pc.in
Log Message:
Fix rpath arguments in brotli pkgconfig files
The pkgconfig files for brotli had a direct -R missing -Wl, this breaks
the linking step when used. Remove them and use PKGCONFIG_OVERRIDE instead.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/archivers/brotli/Makefile \
pkgsrc/archivers/brotli/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in \
pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in \
pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/brotli/Makefile
diff -u pkgsrc/archivers/brotli/Makefile:1.8 pkgsrc/archivers/brotli/Makefile:1.9
--- pkgsrc/archivers/brotli/Makefile:1.8 Mon Aug 31 08:45:44 2020
+++ pkgsrc/archivers/brotli/Makefile Sun Mar 21 19:24:24 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/08/31 08:45:44 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2021/03/21 19:24:24 nros Exp $
DISTNAME= brotli-1.0.9
CATEGORIES= archivers
@@ -13,4 +13,8 @@ LICENSE= mit
USE_CMAKE= yes
USE_LANGUAGES= c c++
+PKGCONFIG_OVERRIDE+= scripts/libbrotlicommon.pc.in
+PKGCONFIG_OVERRIDE+= scripts/libbrotlidec.pc.in
+PKGCONFIG_OVERRIDE+= scripts/libbrotlienc.pc.in
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/archivers/brotli/distinfo
diff -u pkgsrc/archivers/brotli/distinfo:1.8 pkgsrc/archivers/brotli/distinfo:1.9
--- pkgsrc/archivers/brotli/distinfo:1.8 Mon Aug 31 08:45:44 2020
+++ pkgsrc/archivers/brotli/distinfo Sun Mar 21 19:24:24 2021
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.8 2020/08/31 08:45:44 wiz Exp $
+$NetBSD: distinfo,v 1.9 2021/03/21 19:24:24 nros Exp $
SHA1 (brotli-1.0.9.tar.gz) = ddfefdf2593b3f03eec221a7f4ceaa710e5a2e6b
RMD160 (brotli-1.0.9.tar.gz) = aef7f7c6f4f1cea3c8dd84563598de17a6118c0e
SHA512 (brotli-1.0.9.tar.gz) = b8e2df955e8796ac1f022eb4ebad29532cb7e3aa6a4b6aee91dbd2c7d637eee84d9a144d3e878895bb5e62800875c2c01c8f737a1261020c54feacf9f676b5f5
Size (brotli-1.0.9.tar.gz) = 486984 bytes
SHA1 (patch-CMakeLists.txt) = ab1b60d2ae23e7976339c127dab7f5296c8a791b
+SHA1 (patch-scripts_libbrotlicommon.pc.in) = 4544629c9e6ec539dc58624991a4a916c6232aef
+SHA1 (patch-scripts_libbrotlidec.pc.in) = 54969400b302c736c97f48add611eaa471b7dbe1
+SHA1 (patch-scripts_libbrotlienc.pc.in) = d697b2fb3859c99f3815ff00072d3949e482522c
Added files:
Index: pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in
diff -u /dev/null pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in:1.1
--- /dev/null Sun Mar 21 19:24:24 2021
+++ pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in Sun Mar 21 19:24:24 2021
@@ -0,0 +1,13 @@
+$NetBSD: patch-scripts_libbrotlicommon.pc.in,v 1.1 2021/03/21 19:24:24 nros Exp $
+
+Remove wrong rpath argument on Linux and use PKGCONFIG_OVERIDE instead
+
+--- scripts/libbrotlicommon.pc.in.orig 2021-03-21 12:51:37.961672495 +0000
++++ scripts/libbrotlicommon.pc.in
+@@ -7,5 +7,5 @@ Name: libbrotlicommon
+ URL: https://github.com/google/brotli
+ Description: Brotli common dictionary library
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -R${libdir} -lbrotlicommon
++Libs: -L${libdir} -lbrotlicommon
+ Cflags: -I${includedir}
Index: pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in
diff -u /dev/null pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in:1.1
--- /dev/null Sun Mar 21 19:24:24 2021
+++ pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in Sun Mar 21 19:24:24 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-scripts_libbrotlidec.pc.in,v 1.1 2021/03/21 19:24:24 nros Exp $
+
+Remove wrong rpath argument on Linux and use PKGCONFIG_OVERIDE instead
+
+--- scripts/libbrotlidec.pc.in.orig 2021-03-21 12:52:03.713184864 +0000
++++ scripts/libbrotlidec.pc.in
+@@ -7,6 +7,6 @@ Name: libbrotlidec
+ URL: https://github.com/google/brotli
+ Description: Brotli decoder library
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -R${libdir} -lbrotlidec
++Libs: -L${libdir} -lbrotlidec
+ Requires.private: libbrotlicommon >= 1.0.2
+ Cflags: -I${includedir}
Index: pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in
diff -u /dev/null pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in:1.1
--- /dev/null Sun Mar 21 19:24:24 2021
+++ pkgsrc/archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in Sun Mar 21 19:24:24 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-scripts_libbrotlienc.pc.in,v 1.1 2021/03/21 19:24:24 nros Exp $
+
+Remove wrong rpath argument on Linux and use PKGCONFIG_OVERIDE instead
+
+--- scripts/libbrotlienc.pc.in.orig 2021-03-21 12:52:22.084860314 +0000
++++ scripts/libbrotlienc.pc.in
+@@ -7,6 +7,6 @@ Name: libbrotlienc
+ URL: https://github.com/google/brotli
+ Description: Brotli encoder library
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -R${libdir} -lbrotlienc
++Libs: -L${libdir} -lbrotlienc
+ Requires.private: libbrotlicommon >= 1.0.2
+ Cflags: -I${includedir}
Home |
Main Index |
Thread Index |
Old Index