mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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)
This commit is contained in:
parent
186c11938f
commit
a3c3f64cba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433278
3 changed files with 3 additions and 24 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= flow-tools
|
PORTNAME= flow-tools
|
||||||
PORTVERSION= 0.68
|
PORTVERSION= 0.68
|
||||||
PORTREVISION= 8
|
PORTREVISION= 9
|
||||||
CATEGORIES= net-mgmt
|
CATEGORIES= net-mgmt
|
||||||
MASTER_SITES= ftp://ftp.eng.oar.net/pub/flow-tools/
|
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]*
|
CONFLICTS= flow-tools-ng-[0-9]*
|
||||||
|
|
||||||
USES= python:run
|
USES= python:run
|
||||||
USE_GCC= any
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
CFLAGS+= -fgnu89-inline
|
||||||
CONFIGURE_ARGS+=--localstatedir="${PREFIX}"
|
CONFIGURE_ARGS+=--localstatedir="${PREFIX}"
|
||||||
|
MAKE_ARGS= AM_CFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
SUB_FILES= pkg-install pkg-deinstall
|
SUB_FILES= pkg-install pkg-deinstall
|
||||||
SUB_LIST= FLOW_CAPTURE_SPOOL="${FLOW_CAPTURE_SPOOL}" \
|
SUB_LIST= FLOW_CAPTURE_SPOOL="${FLOW_CAPTURE_SPOOL}" \
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- lib/Makefile.in.orig Wed Dec 20 01:38:19 2006
|
|
||||||
+++ lib/Makefile.in Wed Dec 20 01:38:25 2006
|
|
||||||
@@ -91,7 +91,7 @@
|
|
||||||
|
|
||||||
#AM_CFLAGS=-g -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
|
|
||||||
#AM_CFLAGS=-O2
|
|
||||||
-AM_CFLAGS = -g -Wall
|
|
||||||
+#AM_CFLAGS = -g -Wall
|
|
||||||
|
|
||||||
DEFS = -I. -I$(srcdir)/lib
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/Makefile.in.orig Wed Dec 20 01:37:38 2006
|
|
||||||
+++ src/Makefile.in Wed Dec 20 01:37:57 2006
|
|
||||||
@@ -97,7 +97,7 @@
|
|
||||||
|
|
||||||
#AM_CFLAGS=-g -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
|
|
||||||
#AM_CFLAGS=-O2
|
|
||||||
-AM_CFLAGS = -g -Wall
|
|
||||||
+#AM_CFLAGS = -g -Wall
|
|
||||||
|
|
||||||
bin_PROGRAMS = flow-capture flow-cat flow-stat flow-print flow-dscan \
|
|
||||||
flow-send flow-receive flow-gen flow-expire \
|
|
Loading…
Add table
Reference in a new issue