summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-03-31 07:44:29 +0000
committeradam <adam@pkgsrc.org>2021-03-31 07:44:29 +0000
commit9545b90bfddae9826b45df6de3e24b33178b03a6 (patch)
treeadb441014f7d1cf2189b1870cd2bea6e6520dd59 /devel
parent0aca6a91d8fa0c80c43d419c8af0795b7d238994 (diff)
downloadpkgsrc-9545b90bfddae9826b45df6de3e24b33178b03a6.tar.gz
cmake: add patch
Diffstat (limited to 'devel')
-rw-r--r--devel/cmake/patches/patch-bootstrap15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/cmake/patches/patch-bootstrap b/devel/cmake/patches/patch-bootstrap
new file mode 100644
index 00000000000..6cf55b8dab9
--- /dev/null
+++ b/devel/cmake/patches/patch-bootstrap
@@ -0,0 +1,15 @@
+$NetBSD: patch-bootstrap,v 1.5 2021/03/31 07:44:29 adam Exp $
+
+librhash requires -lcrypto when statically linked.
+
+--- bootstrap.orig 2021-03-30 09:45:30.000000000 +0000
++++ bootstrap
+@@ -1708,7 +1708,7 @@ if test "x${bootstrap_system_librhash}"
+ cmake_c_flags="${cmake_c_flags} ${use_librhash_flags}"
+ cmake_cxx_flags="${cmake_cxx_flags} ${use_librhash_flags}"
+ fi
+- libs="${libs} -lrhash"
++ libs="${libs} -lrhash -lcrypto"
+ fi
+
+ if test "${cmake_bootstrap_generator}" = "Ninja"; then