[Bug 258345] net/libwebsockets: Fix building with LibreSSL

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 Sep 2021 17:34:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258345

            Bug ID: 258345
           Summary: net/libwebsockets: Fix building with LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rob.kruus@gmail.com

Created attachment 227740
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227740&action=edit
Force use of libressl libs/includes in build if required.

If libressl is defined as default in make.conf (ssl=libressl), the build uses
both the base ssl and LibreSSL.
The port builds fine without this, but linking against generated libs causes
confusion.

The build can be forced to build only against the LibreSSL libs and includes.
This patch links against LibreSSL dynamic libs, but can also use static libs
(change .so to .a).

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail

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