Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 13:15:41 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546277 - head/net-mgmt/nfdump
Message-ID:  <202008261315.07QDFfZV040308@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Aug 26 13:15:41 2020
New Revision: 546277
URL: https://svnweb.freebsd.org/changeset/ports/546277

Log:
  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)

Modified:
  head/net-mgmt/nfdump/Makefile

Modified: head/net-mgmt/nfdump/Makefile
==============================================================================
--- head/net-mgmt/nfdump/Makefile	Wed Aug 26 11:57:26 2020	(r546276)
+++ head/net-mgmt/nfdump/Makefile	Wed Aug 26 13:15:41 2020	(r546277)
@@ -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 Net
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008261315.07QDFfZV040308>