[Bug 271495] net/libwebsockets: Fix include directory in for cmake files

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 May 2023 17:52:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271495

            Bug ID: 271495
           Summary: net/libwebsockets: Fix include directory in for cmake
                    files
           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: robert.kruus@gov.sk.ca

Created attachment 242257
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242257&action=edit
Patch to correct ssl includes.

Modification to bug #258345.

The include files seem to have moved to ${OPENSSLINC}/openssl (at least here
with libressl) and cmake builds looking for the libwebsockets includes will
fail since the directory does not exist.

For example:
CMake Error in src/CMakeLists.txt:
  Imported target "websockets_shared" includes non-existent path

    "/usr/local/include/ssl"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

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