diff options
author | nros <nros@pkgsrc.org> | 2021-03-21 19:24:24 +0000 |
---|---|---|
committer | nros <nros@pkgsrc.org> | 2021-03-21 19:24:24 +0000 |
commit | adfa050cf60d24c13375b82425471ff2af4cb4a0 (patch) | |
tree | 86fb4f929c3c808d72c5c709b18be4616fa3560f /archivers | |
parent | 04a75f2f129b0de789dd23ba1033ab71f16df3bb (diff) | |
download | pkgsrc-adfa050cf60d24c13375b82425471ff2af4cb4a0.tar.gz |
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.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/brotli/Makefile | 6 | ||||
-rw-r--r-- | archivers/brotli/distinfo | 5 | ||||
-rw-r--r-- | archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in | 13 | ||||
-rw-r--r-- | archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in | 14 | ||||
-rw-r--r-- | archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in | 14 |
5 files changed, 50 insertions, 2 deletions
diff --git a/archivers/brotli/Makefile b/archivers/brotli/Makefile index d90688a4fd1..157d70633cd 100644 --- a/archivers/brotli/Makefile +++ b/archivers/brotli/Makefile @@ -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" diff --git a/archivers/brotli/distinfo b/archivers/brotli/distinfo index 457ab690985..99843eceac1 100644 --- a/archivers/brotli/distinfo +++ b/archivers/brotli/distinfo @@ -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 diff --git a/archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in b/archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in new file mode 100644 index 00000000000..6d4aaf97a0c --- /dev/null +++ b/archivers/brotli/patches/patch-scripts_libbrotlicommon.pc.in @@ -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} diff --git a/archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in b/archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in new file mode 100644 index 00000000000..4c157347e1d --- /dev/null +++ b/archivers/brotli/patches/patch-scripts_libbrotlidec.pc.in @@ -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} diff --git a/archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in b/archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in new file mode 100644 index 00000000000..d88fa37573d --- /dev/null +++ b/archivers/brotli/patches/patch-scripts_libbrotlienc.pc.in @@ -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} |