Subject: [PATCH] gnu: postgresql: Build with openssl support.

From: Christopher Baines <[email-masked]>
Date: Thu, 3 Jan 2019 22:05:38 +0000

* gnu/packages/databases.scm (postgresql)[arguments]: Add --with-openssl to
[inputs]: Add openssl.
---
 gnu/packages/databases.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 07c6006c3b..4febd0d915 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -814,7 +814,7 @@ as a drop-in replacement of MySQL.")
                 "0jv26y3f10svrjxzsgqxg956c86b664azyk2wppzpa5x11pjga38"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags '("--with-uuid=e2fs")
+     `(#:configure-flags '("--with-uuid=e2fs" "--with-openssl")
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'patch-/bin/sh
@@ -833,6 +833,7 @@ as a drop-in replacement of MySQL.")
     (inputs
      `(("readline" ,readline)
        ("libuuid" ,util-linux)
+       ("openssl" ,openssl)
        ("zlib" ,zlib)))
     (home-page "https://www.postgresql.org/")
     (synopsis "Powerful object-relational database system")
-- 
2.20.1