Changes between Version 3 and Version 4 of Ticket #67874
- Timestamp:
- Aug 4, 2023, 4:04:19 AM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #67874 – Description
v3 v4 9 9 {{{#!diff 10 10 diff --git a/net/mosquitto/Portfile b/net/mosquitto/Portfile 11 index 61e7927e.. 61d0702f10064411 index 61e7927e..5271927c 100644 12 12 --- a/net/mosquitto/Portfile 13 13 +++ b/net/mosquitto/Portfile … … 47 47 port:tcp_wrappers \ 48 48 path:lib/libssl.dylib:openssl 49 @@ -41,7 +43,8 @@ depends_test-append \ 49 @@ -38,6 +40,8 @@ depends_lib port:c-ares \ 50 depends_test-append \ 51 port:python27 52 53 +patchfiles CMAKE_MODULE_LINKER_FLAGS.patch 54 + 50 55 configure.args-append \ 51 56 -DUSE_LIBWRAP:BOOL=ON \ 52 57 -DWITH_SRV:BOOL=ON \ 53 - -DWITH_WEBSOCKETS:BOOL=ON 54 + -DWITH_WEBSOCKETS:BOOL=ON \ 55 + -DCMAKE_MODULE_LINKER_FLAGS="-undefined dynamic_lookup" 56 58 diff --git a/net/mosquitto/files/CMAKE_MODULE_LINKER_FLAGS.patch b/net/mosquitto/files/CMAKE_MODULE_LINKER_FLAGS.patch 59 new file mode 100644 60 index 00000000..ec3044ea 61 --- /dev/null 62 +++ b/net/mosquitto/files/CMAKE_MODULE_LINKER_FLAGS.patch 63 @@ -0,0 +1,12 @@ 64 +--- CMakeLists.txt.orig 2023-08-03 23:00:17 65 ++++ CMakeLists.txt 2023-08-03 23:00:13 66 +@@ -20,7 +20,7 @@ 67 + endif (WIN32) 68 + 69 + if(APPLE) 70 +- set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -undefined dynamic_lookup") 71 ++ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -undefined dynamic_lookup") 72 + endif(APPLE) 73 + 74 + include(GNUInstallDirs) 75 + 57 76 }}} 58 77 }}}