aboutsummaryrefslogtreecommitdiffstats
path: root/net/bird2
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-09-18 15:10:07 +0800
committerlinimon <linimon@FreeBSD.org>2018-09-18 15:10:07 +0800
commit2aabb22abf3d635be1f659d45681b6eb0d579e6e (patch)
treea20ba17cdcea0fd0c0cb67be132a0895dbb1500f /net/bird2
parentd3b0fd79a50c6bd9bfb18ca4c8363203b3200881 (diff)
downloadfreebsd-ports-gnome-2aabb22abf3d635be1f659d45681b6eb0d579e6e.tar.gz
freebsd-ports-gnome-2aabb22abf3d635be1f659d45681b6eb0d579e6e.tar.zst
freebsd-ports-gnome-2aabb22abf3d635be1f659d45681b6eb0d579e6e.zip
Add gnu99 to USE_CSTD to fix builds on gcc-based archs.
Tested on powerpc64, amd64. Approved by: portmgr (tier-2 blanket)
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