1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

net-mgmt/ng_ipacct: VIMAGE is now mandatory option

This option is unconditional since FreeBSD 12, so it is now removed to a
static define.

Reported by:		Eugene Kazarinov via private email
This commit is contained in:
Vsevolod Stakhov 2021-10-18 19:18:04 +00:00
parent 040897be23
commit e357477874

View File

@ -2,6 +2,7 @@
PORTNAME= ng_ipacct
PORTVERSION= 20210316
PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= vsevolod@FreeBSD.org
@ -23,7 +24,7 @@ MAKE_ENV+= BINDIR="${PREFIX}/sbin"
USE_RC_SUBR= ng_ipacct
SUB_FILES= pkg-message
CFLAGS+= -DMEM_USE_ZONE
CFLAGS+= -DMEM_USE_ZONE -DVIMAGE
post-patch:
@${REINPLACE_CMD} 's,{MANDIR},{DESTDIR}$$&,' ${WRKSRC}/man_ru/Makefile
@ -34,8 +35,4 @@ 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>