aboutsummaryrefslogtreecommitdiff
path: root/net/bird2
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-09-18 07:10:07 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-09-18 07:10:07 +0000
commit8bf23c2df57e73974ef8f41642d14dd346361396 (patch)
treea20ba17cdcea0fd0c0cb67be132a0895dbb1500f /net/bird2
parent98ab7a442546491519768a7ebdca3d8aa9dc20c0 (diff)
downloadports-8bf23c2df57e73974ef8f41642d14dd346361396.tar.gz
ports-8bf23c2df57e73974ef8f41642d14dd346361396.zip
Add gnu99 to USE_CSTD to fix builds on gcc-based archs.
Tested on powerpc64, amd64. Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=479979
Diffstat (limited to 'net/bird2')
-rw-r--r--net/bird2/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bird2/Makefile b/net/bird2/Makefile
index 78d9aaeb67d9..9055d1edd45b 100644
--- a/net/bird2/Makefile
+++ b/net/bird2/Makefile
@@ -13,14 +13,13 @@ COMMENT= Dynamic IP routing daemon
LICENSE= GPLv2
-BROKEN_powerpc64= fails to compile: ./lib/ip.h:337: 'for' loop initial declaration used outside C99 mode
-
LIB_DEPENDS= libssh.so:security/libssh
CONFLICTS= bird-[0-9]*
CONFLICTS+= bird6-[0-9]*
USES= bison gmake ncurses readline
+USE_CSTD= gnu99
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
USE_RC_SUBR= bird