diff --git a/net/mosquitto/Portfile b/net/mosquitto/Portfile
index 61e7927e..750e462f 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | PortGroup cmake 1.1 |
5 | 5 | |
6 | 6 | name mosquitto |
7 | | version 2.0.9 |
8 | | revision 1 |
| 7 | version 2.0.16 |
| 8 | revision 0 |
9 | 9 | |
10 | 10 | categories net devel |
11 | 11 | platforms darwin |
… |
… |
long_description \ |
21 | 21 | both C and C++ client libraries. |
22 | 22 | |
23 | 23 | homepage https://mosquitto.org |
24 | | master_sites http://mosquitto.org/files/source/ |
| 24 | master_sites ${homepage}/files/source/ |
25 | 25 | |
26 | | checksums rmd160 6925455f51b6c79ebd160aba2f3709864aa5c05d \ |
27 | | sha256 1b8553ef64a1cf5e4f4cfbe098330ae612adccd3d37f35b2db6f6fab501b01d4 \ |
28 | | size 757878 |
| 26 | checksums rmd160 1f0e5e1a1e700a06af52509fd132702ef7d04a1c \ |
| 27 | sha256 638db9e43e89d243ea98d10d66e76ff376131217780decd01abaffacc66d8035 \ |
| 28 | size 795906 |
29 | 29 | |
30 | 30 | depends_build-append \ |
31 | | path:bin/xsltproc:libxslt |
| 31 | path:bin/xsltproc:libxslt \ |
| 32 | port:docbook-xsl-nons |
32 | 33 | |
33 | 34 | depends_lib port:c-ares \ |
| 35 | port:libcjson \ |
34 | 36 | port:libwebsockets \ |
35 | 37 | port:tcp_wrappers \ |
36 | 38 | path:lib/libssl.dylib:openssl |
… |
… |
depends_lib port:c-ares \ |
38 | 40 | depends_test-append \ |
39 | 41 | port:python27 |
40 | 42 | |
| 43 | patchfiles CMAKE_MODULE_LINKER_FLAGS.patch |
| 44 | |
41 | 45 | configure.args-append \ |
42 | 46 | -DUSE_LIBWRAP:BOOL=ON \ |
43 | 47 | -DWITH_SRV:BOOL=ON \ |
diff --git a/net/mosquitto/files/CMAKE_MODULE_LINKER_FLAGS.patch b/net/mosquitto/files/CMAKE_MODULE_LINKER_FLAGS.patch
new file mode 100644
index 00000000..ec3044ea
-
|
+
|
|
| 1 | --- CMakeLists.txt.orig 2023-08-03 23:00:17 |
| 2 | +++ CMakeLists.txt 2023-08-03 23:00:13 |
| 3 | @@ -20,7 +20,7 @@ |
| 4 | endif (WIN32) |
| 5 | |
| 6 | if(APPLE) |
| 7 | - set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -undefined dynamic_lookup") |
| 8 | + set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -undefined dynamic_lookup") |
| 9 | endif(APPLE) |
| 10 | |
| 11 | include(GNUInstallDirs) |
| 12 | |