net-mgmt/nfdump: fix build on GCC architectures and check-plist on others

Use C11 compiler:
In file included from nfcapd.c:69:
nfx.h:946: error: redefinition of typedef 'extension_map_t'
nfdump.h:64: error: previous declaration of 'extension_map_t' was here
In file included from nfcapd.c:70:
exporter.h:78: error: redefinition of typedef 'exporter_info_record_t'
nfdump.h:63: error: previous declaration of 'exporter_info_record_t' was here

Remove unconditional installation of nfpcapd, it breaks check-plist and there's an option for installing it.

Bump PORTREVISION for package change.

MFH:		2020Q3 (fix build blanket, packaging fix)
This commit is contained in:
Piotr Kubaj 2020-08-26 13:15:41 +00:00
parent baffce1ba0
commit 79a91b21ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546277

View File

@ -3,6 +3,7 @@
PORTNAME= nfdump
PORTVERSION= 1.6.20
PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= net-mgmt
@ -12,7 +13,7 @@ COMMENT= Command-line tools to collect and process NetFlow data
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/BSD-license.txt
USES= autoreconf libtool pkgconfig
USES= autoreconf compiler:c11 libtool pkgconfig
USE_CSTD= gnu89
USE_LDCONFIG= yes
USE_GITHUB= yes
@ -128,7 +129,7 @@ CONFIGURE_ARGS+= --disable-influxdb
.endif
do-install:
.for binary in nfanon nfcapd nfpcapd nfdump nfexpire nfreplay
.for binary in nfanon nfcapd nfdump nfexpire nfreplay
${INSTALL_PROGRAM} ${WRKSRC}/bin/.libs/${binary} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_LIB} ${WRKSRC}/bin/.libs/libnfdump-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib