summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-04-19 17:56:52 +0000
committeradam <adam@pkgsrc.org>2019-04-19 17:56:52 +0000
commit51167cff8f53f1f71dfa47a65ddc0fa9ce77feb3 (patch)
tree02db54c29714e33ec555e447d2b24cdba0e5c16e /archivers
parent8f004730713a4d5b9f18dd6c8243093f4a370255 (diff)
downloadpkgsrc-51167cff8f53f1f71dfa47a65ddc0fa9ce77feb3.tar.gz
brotli: Use shared libraries for linking the main executable
Diffstat (limited to 'archivers')
-rw-r--r--archivers/brotli/Makefile3
-rw-r--r--archivers/brotli/distinfo3
-rw-r--r--archivers/brotli/patches/patch-CMakeLists.txt15
3 files changed, 19 insertions, 2 deletions
diff --git a/archivers/brotli/Makefile b/archivers/brotli/Makefile
index 97b623fa170..015a912672c 100644
--- a/archivers/brotli/Makefile
+++ b/archivers/brotli/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2018/12/01 17:22:04 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2019/04/19 17:56:52 adam Exp $
DISTNAME= brotli-1.0.7
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/archivers/brotli/distinfo b/archivers/brotli/distinfo
index c2ea7e0c728..11100dc65b2 100644
--- a/archivers/brotli/distinfo
+++ b/archivers/brotli/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2018/12/01 17:22:04 wiz Exp $
+$NetBSD: distinfo,v 1.7 2019/04/19 17:56:52 adam Exp $
SHA1 (brotli-1.0.7.tar.gz) = ee64a380152aa20fbc1098fe3799104884c570c1
RMD160 (brotli-1.0.7.tar.gz) = f46d51bb06fa08ed80d9d2d6bc72cbd243b0653e
SHA512 (brotli-1.0.7.tar.gz) = a82362aa36d2f2094bca0b2808d9de0d57291fb3a4c29d7c0ca0a37e73087ec5ac4df299c8c363e61106fccf2fe7f58b5cf76eb97729e2696058ef43b1d3930a
Size (brotli-1.0.7.tar.gz) = 23827908 bytes
+SHA1 (patch-CMakeLists.txt) = f5d1d5f4471ce820cfb9c574be61fae4693de4d6
diff --git a/archivers/brotli/patches/patch-CMakeLists.txt b/archivers/brotli/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..17bf22dcd37
--- /dev/null
+++ b/archivers/brotli/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/04/19 17:56:52 adam Exp $
+
+Use shared libraries for linking the main executable.
+
+--- CMakeLists.txt.orig 2019-04-19 17:41:26.000000000 +0000
++++ CMakeLists.txt
+@@ -183,7 +183,7 @@ endif()
+
+ # Build the brotli executable
+ add_executable(brotli ${BROTLI_CLI_C})
+-target_link_libraries(brotli ${BROTLI_LIBRARIES_STATIC})
++target_link_libraries(brotli ${BROTLI_LIBRARIES})
+
+ # Installation
+ if(NOT BROTLI_BUNDLED_MODE)