net-mgmt/pmacct: Use opt_LIB_DEPENDS

This commit is contained in:
Tobias Kortkamp 2021-04-22 10:10:00 +02:00
parent 7069bc1a13
commit 3455b276e6
No known key found for this signature in database
GPG Key ID: A4F09FB73CC51F61

View File

@ -18,7 +18,7 @@ GNU_CONFIGURE= yes
OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 LAYER2 DEBUG GEOIP2 \
DOCS PLABEL RABBITMQ REDIS KAFKA AVRO EXAMPLES
OPTIONS_DEFAULT=LAYER2
OPTIONS_SUB= 1
OPTIONS_SUB= yes
AVRO_DESC= Enable avro support
GEOIP2_DESC= Enable GeoIPv2 (libmaxminddb) support
@ -48,19 +48,19 @@ LAYER2_CONFIGURE_ENABLE= l2
PLABEL_CONFIGURE_ENABLE= plabel
DEBUG_CONFIGURE_ENABLE= debug
RABBITMQ_VARS= LIB_DEPENDS+=librabbitmq.so:net/rabbitmq-c-devel
RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c-devel
RABBITMQ_CONFIGURE_ENABLE= rabbitmq
REDIS_VARS= LIB_DEPENDS+=libhiredis.so:databases/hiredis
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
REDIS_CONFIGURE_ENABLE= redis
KAFKA_VARS= LIB_DEPENDS+=librdkafka.so:net/librdkafka
KAFKA_LIB_DEPENDS= librdkafka.so:net/librdkafka
KAFKA_CONFIGURE_ENABLE= kafka
AVRO_VARS= LIB_DEPENDS+=libavro.so:devel/avro-c
AVRO_LIB_DEPENDS= libavro.so:devel/avro-c
AVRO_CONFIGURE_ENABLE= avro
GEOIP2_VARS= LIB_DEPENDS+=libmaxminddb.so:net/libmaxminddb
GEOIP2_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
GEOIP2_CONFIGURE_ENABLE= geoipv2
.include <bsd.port.options.mk>