Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2017 04:16:59 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433278 - in head/net-mgmt/flow-tools: . files
Message-ID:  <201702040416.v144Gxwl061838@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}" \



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