pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/postgresql-timescaledb/patches
Module Name: pkgsrc
Committed By: tnn
Date: Sat Feb 13 11:33:25 UTC 2021
Added Files:
pkgsrc/databases/postgresql-timescaledb/patches: patch-CMakeLists.txt
Log Message:
postgresql-timescaledb: add patch for openssl detection
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/postgresql-timescaledb/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/databases/postgresql-timescaledb/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/databases/postgresql-timescaledb/patches/patch-CMakeLists.txt:1.1
--- /dev/null Sat Feb 13 11:33:25 2021
+++ pkgsrc/databases/postgresql-timescaledb/patches/patch-CMakeLists.txt Sat Feb 13 11:33:24 2021
@@ -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