aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ng_ipacct/Makefile
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2018-04-01 13:21:57 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2018-04-01 13:21:57 +0000
commit69ae9ca17c7750f2123380448270e5f5a9adb761 (patch)
treef93e4fc26c5f0e7af9a82858ac88a810c225fef1 /net-mgmt/ng_ipacct/Makefile
parent0f6c1869f12e0d62e28981bf3ce7606bf0022a1b (diff)
downloadports-69ae9ca17c7750f2123380448270e5f5a9adb761.tar.gz
ports-69ae9ca17c7750f2123380448270e5f5a9adb761.zip
Update ng_ipacct port to 20180401 tag
- Add VIMAGE option [1] - Fix build on head [1] - Incorporate the existing patches - Improve ipacctctl build [1] Submitted by: eugen via IRC [1]
Notes
Notes: svn path=/head/; revision=466151
Diffstat (limited to 'net-mgmt/ng_ipacct/Makefile')
-rw-r--r--net-mgmt/ng_ipacct/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-mgmt/ng_ipacct/Makefile b/net-mgmt/ng_ipacct/Makefile
index 53062f70a293..9333ae301eec 100644
--- a/net-mgmt/ng_ipacct/Makefile
+++ b/net-mgmt/ng_ipacct/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ng_ipacct
-PORTVERSION= 20150304
+PORTVERSION= 20180401
CATEGORIES= net-mgmt
MAINTAINER= vsevolod@FreeBSD.org
@@ -19,7 +19,8 @@ USES= kmod uidfix
GH_ACCOUNT= vstakhov
-MAKE_ENV= BINDIR="${PREFIX}/sbin"
+MAKE_ARGS+= OSVERSION=${OSVERSION}
+MAKE_ENV+= BINDIR="${PREFIX}/sbin"
USE_RC_SUBR= ng_ipacct
SUB_FILES= pkg-message
@@ -34,4 +35,8 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/ng_ipacct.conf \
${STAGEDIR}${PREFIX}/etc/ng_ipacct.conf.sample
+OPTIONS_DEFINE= VIMAGE
+VIMAGE_DESC= VIMAGE virtual networking support
+VIMAGE_CFLAGS= -DVIMAGE
+
.include <bsd.port.mk>