On Thu, Sep 21, 2023 at 08:24:54AM -0600, Stuart Henderson wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]   2023/09/21 08:24:54
> 
> Modified files:
>       net/mosquitto  : Makefile distinfo 
>       net/mosquitto/pkg: PLIST 
> 
> Log message:
> update to mosquitto-2.0.18

I think this misses a dependency on www/libwebsockets:

CMake Warning at src/CMakeLists.txt:138 (find_package):
  By not providing "Findlibwebsockets.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "libwebsockets", but CMake did not find one.

  Could not find a package configuration file provided by "libwebsockets"
  with any of the following names:

    libwebsocketsConfig.cmake
    libwebsockets-config.cmake

Otherwise it gets junked by dpb(1):

In file included from 
/exopi-obj/pobj/mosquitto-2.0.18/mosquitto-2.0.18/src/bridge.c:44:
/exopi-obj/pobj/mosquitto-2.0.18/mosquitto-2.0.18/src/mosquitto_broker_internal.h:27:12:
 fatal error: 'libwebsockets.h' file not found
#  include <libwebsockets.h>
           ^~~~~~~~~~~~~~~~~
1 error generated.


But there's also this:

/usr/ports/pobj/mosquitto-2.0.18/mosquitto-2.0.18/src/mosquitto_broker_internal.h:29:6:
 warning: "libwebsockets is not compiled with LWS_WITH_EXTERNAL_POLL support. 
Websocket performance will be unusable." [-W#warnings]
#    warning "libwebsockets is not compiled with LWS_WITH_EXTERNAL_POLL 
support. Websocket performance will be unusable."


-- 
Antoine

Reply via email to