$OpenBSD: patch-HDBC-postgresql_cabal,v 1.3 2017/08/22 12:41:58 dcoppa Exp $

Unbreak when used within GHCi

Index: HDBC-postgresql.cabal
--- HDBC-postgresql.cabal.orig
+++ HDBC-postgresql.cabal
@@ -48,7 +48,7 @@ Library
     Build-Depends: time < 1.5, old-locale
   if impl(ghc >= 6.9)
     Build-Depends: base >= 4
-  Extra-Libraries: pq
+  Extra-Libraries: pq crypto ssl
   C-Sources: hdbc-postgresql-helper.c
   Include-Dirs: .
   GHC-Options: -O2 -Wall
@@ -84,7 +84,7 @@ Executable runtests
                   Tests
    C-Sources: hdbc-postgresql-helper.c
    include-dirs: .
-   Extra-Libraries: pq
+   Extra-Libraries: pq crypto ssl
    Hs-Source-Dirs: ., testsrc
    GHC-Options: -O2
    Extensions: ExistentialQuantification,
