Mercurial > hgrepos > FreeBSD > ports > net > turnserver
changeset 49:e4f5fd3b2975
Allow proper build if the PROMETHEUS option is enabled.
We now have a package for libprom.so in net-mgmt/prometheus-client-c-libprom.
It is not yet enabled by default.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 18 Mar 2025 19:09:31 +0100 |
| parents | 3dff81855b9a |
| children | 13ad33e959c3 |
| files | Makefile |
| diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Mar 18 12:26:20 2025 +0100 +++ b/Makefile Tue Mar 18 19:09:31 2025 +0100 @@ -121,9 +121,13 @@ SQLITE_CONFIGURE_ENV_OFF= TURN_NO_SQLITE=1 PROMETHEUS_DESC= Prometheus monitoring and alerting support +# # We need a Prometheus C client to be linked with (-lprom) # e.g https://github.com/digitalocean/prometheus-client-c -# If enabled it will be automatically disabled again at configure time. +# libpromhttp ist not needed: equivalent code is already included. +# +PROMETHEUS_LIB_DEPENDS= libprom.so:net-mgmt/prometheus-client-c-libprom \ + libmicrohttpd.so:www/libmicrohttpd PROMETHEUS_CONFIGURE_ENV_OFF= TURN_NO_PROMETHEUS=1 do-install:
