[Bug 258760] databases/postgresql14-server: libpq.pc should not require openssl from ports when built with base -lssl

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Sep 2021 12:07:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258760

            Bug ID: 258760
           Summary: databases/postgresql14-server: libpq.pc should not
                    require openssl from ports when built with base -lssl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pgsql@FreeBSD.org
          Reporter: phil@krylov.eu
             Flags: maintainer-feedback?(pgsql@FreeBSD.org)
          Assignee: pgsql@FreeBSD.org

Created attachment 228230
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228230&action=edit
Patch to fix libpq.pc

/usr/local/libdata/pkgconfig/libpq.pc unconditionally (even when built with
base OpenSSL) required libssl and libcrypto pkgconfig files, which are only
available from the openssl port. Patch attached. The patched line appears only
in version 14+, so the old versions are not affected.

-- 
You are receiving this mail because:
You are the assignee for the bug.