svn commit: r433278 - in head/net-mgmt/flow-tools: . files

Jan Beich jbeich at FreeBSD.org
Sat Feb 4 04:17:01 UTC 2017


Author: jbeich
Date: Sat Feb  4 04:16:59 2017
New Revision: 433278
URL: https://svnweb.freebsd.org/changeset/ports/433278

Log:
  net-mgmt/flow-tools: respect CFLAGS and unbreak with gcc5 or later
  
  ../lib/libft.a(ftfil.o): In function `resolve_primitives':
  ftfil.c:(.text+0x12bb): undefined reference to `eval_match_src_as'
  ftfil.c:(.text+0x13e7): undefined reference to `eval_match_ip_prot'
  ftfil.c:(.text+0x1432): undefined reference to `eval_match_ip_src_prefix_len'
  [...]
  
  PR:		216707
  Reported by:	antoine (via exp-run)

Deleted:
  head/net-mgmt/flow-tools/files/patch-lib_Makefile.in
  head/net-mgmt/flow-tools/files/patch-src_Makefile.in
Modified:
  head/net-mgmt/flow-tools/Makefile   (contents, props changed)

Modified: head/net-mgmt/flow-tools/Makefile
==============================================================================
--- head/net-mgmt/flow-tools/Makefile	Sat Feb  4 03:32:13 2017	(r433277)
+++ head/net-mgmt/flow-tools/Makefile	Sat Feb  4 04:16:59 2017	(r433278)
@@ -3,7 +3,7 @@
 
 PORTNAME=	flow-tools
 PORTVERSION=	0.68
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	net-mgmt
 MASTER_SITES=	ftp://ftp.eng.oar.net/pub/flow-tools/
 
@@ -17,9 +17,10 @@ OPTIONS_DEFINE=	MYSQL OPENSSL PGSQL
 CONFLICTS=	flow-tools-ng-[0-9]*
 
 USES=		python:run
-USE_GCC=	any
 GNU_CONFIGURE=	yes
+CFLAGS+=	-fgnu89-inline
 CONFIGURE_ARGS+=--localstatedir="${PREFIX}"
+MAKE_ARGS=	AM_CFLAGS="${CFLAGS}"
 
 SUB_FILES=	pkg-install pkg-deinstall
 SUB_LIST=	FLOW_CAPTURE_SPOOL="${FLOW_CAPTURE_SPOOL}" \


More information about the svn-ports-all mailing list