pkgsrc-wip/collectd-redis
Edgar Fuß ef06509adc collectd/collectd-*: rework library handling
Rework --with-libfoo handling: Let a package for a plugin needing libfoo set COLLECTD_LIB.foo (typically to BUILDLINK_PREFIX.somefoo) instead of explicitly adding --with-libfoo to CONFIGURE_ARGS.
Also, in Makefile.common, only set --with-libbar=no if COLLECTD_LIB.bar is unset (for bar included in COLLECT_LIBS) instead of collectd/Makefile.common setting --with-libbar=no and collectd-bar/Makefile adding --with-libbar=something later to CONFIGURE_ARGS (which seems to work, but probably is undefined behaviour to autoconf).

Special case: use COLLECTD_LIB.grpcpp as a Variable name for libgrpc++.

Additionally, the collectd-write_riemann and collectd-write_prometheus plugin packages seem not to need devel/protobuf-c/buildlink3.mk.
2020-07-20 17:34:47 +02:00
..
DESCR
Makefile collectd/collectd-*: rework library handling 2020-07-20 17:34:47 +02:00