| @@ -1,12 +1,17 @@ | | | @@ -1,12 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.1 2014/02/17 11:21:55 fhajny Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2015/04/07 13:18:25 fhajny Exp $ |
2 | | | 2 | |
3 | COLLECTD_PACKAGE= dns | | 3 | COLLECTD_PACKAGE= dns |
4 | | | 4 | |
5 | COMMENT= Statistics collection daemon - dns plugin | | 5 | COMMENT= Statistics collection daemon - dns plugin |
6 | | | 6 | |
7 | .include "../../sysutils/collectd/Makefile.common" | | 7 | .include "../../sysutils/collectd/Makefile.common" |
8 | | | 8 | |
9 | CONFIGURE_ARGS+= --with-libpcap=${BUILDLINK_PREFIX.libpcap} | | 9 | CONFIGURE_ARGS+= --with-libpcap=${BUILDLINK_PREFIX.libpcap} |
10 | | | 10 | |
| | | 11 | # On NetBSD, built-in pcap lacks headers needed |
| | | 12 | .if ${OPSYS} == "NetBSD" |
| | | 13 | PREFER.libpcap= pkgsrc |
| | | 14 | .endif |
| | | 15 | |
11 | .include "../../net/libpcap/buildlink3.mk" | | 16 | .include "../../net/libpcap/buildlink3.mk" |
12 | .include "../../mk/bsd.pkg.mk" | | 17 | .include "../../mk/bsd.pkg.mk" |