updates are triggered. This is following the struct if_data ABI change a few days ago; if_msghdr has an embedded if_data. Some may be unnecessary, but some are definitely needed and bumps are cheaper than debugging. Problem reported with wpa_supplicant by Mikolaj Kucharski.
37 lines
611 B
Makefile
37 lines
611 B
Makefile
# $OpenBSD: Makefile,v 1.17 2015/10/08 21:19:22 sthen Exp $
|
|
|
|
COMMENT= tool to monitor interface bandwidth usage
|
|
|
|
DISTNAME= ifstat-1.1
|
|
REVISION= 4
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://gael.roualland.free.fr/ifstat/
|
|
|
|
MAINTAINER= Johan Fredin <johan@spelaroll.se>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
|
|
NO_TEST= Yes
|
|
|
|
FLAVORS= snmp
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR} == "snmp"
|
|
WANTLIB += netsnmp
|
|
LIB_DEPENDS= net/net-snmp
|
|
CONFIGURE_ARGS+= --with-snmp=${LOCALBASE}
|
|
WANTLIB+= crypto m
|
|
.else
|
|
CONFIGURE_ARGS+= --without-snmp
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|