pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql-timescaledb/patches postgresql-ti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4fc6ded6c833
branches:  trunk
changeset: 446797:4fc6ded6c833
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Feb 13 11:33:24 2021 +0000

description:
postgresql-timescaledb: add patch for openssl detection

diffstat:

 databases/postgresql-timescaledb/patches/patch-CMakeLists.txt |  15 +++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 973c40fc1168 -r 4fc6ded6c833 databases/postgresql-timescaledb/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-timescaledb/patches/patch-CMakeLists.txt     Sat Feb 13 11:33:24 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/02/13 11:33:24 tnn Exp $
+
+pkgsrc postgresql-server is definitely built --with-openssl but for some reason it is not
+expressed in pg_config --configure, so override the check.
+
+--- CMakeLists.txt.orig        2021-01-28 16:29:12.000000000 +0000
++++ CMakeLists.txt
+@@ -404,6 +404,7 @@ execute_process(
+   OUTPUT_VARIABLE PG_CONFIGURE_FLAGS
+   OUTPUT_STRIP_TRAILING_WHITESPACE)
+ string(REGEX MATCH "--with-openssl" PG_USE_OPENSSL "${PG_CONFIGURE_FLAGS}")
++set(PG_USE_OPENSSL true)
+ 
+ if (USE_OPENSSL AND (NOT PG_USE_OPENSSL))
+     message(FATAL_ERROR "PostgreSQL was built without OpenSSL support, which TimescaleDB needs for full compatibility. Please rebuild PostgreSQL using `--with-openssl` or if you want to continue 
without OpenSSL, re-run bootstrap with `-DUSE_OPENSSL=0`")



Home | Main Index | Thread Index | Old Index