# HG changeset patch # User Franz Glasner # Date 1742321371 -3600 # Node ID e4f5fd3b29753b3bc605bc30e2ad2d83e27cb9e9 # Parent 3dff81855b9aae8f169b7f5c9c270e2d060f7c73 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. diff -r 3dff81855b9a -r e4f5fd3b2975 Makefile --- 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: