aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/bgpq4
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-28 21:21:27 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-28 21:21:27 +0000
commit9bd713a0aa3bee8d6d3b4cb983e719a1ab5c92ed (patch)
tree0c70903108c0b8744809200d5b48e79c26020cb8 /net-mgmt/bgpq4
parentda53acb9b2d64c73e6643fa4298fe86f32f8f130 (diff)
downloadports-9bd713a0aa3bee8d6d3b4cb983e719a1ab5c92ed.tar.gz
ports-9bd713a0aa3bee8d6d3b4cb983e719a1ab5c92ed.zip
net-mgmt/bgpq4: fix build on GCC architectures
C11 compiler is necessary: cc1: error: unrecognized command line option "-std=gnu11" Adjust MAKE_ARGS because make insists on using cc. MFH: 2020Q2 (fix build blanket)
Notes
Notes: svn path=/head/; revision=533275
Diffstat (limited to 'net-mgmt/bgpq4')
-rw-r--r--net-mgmt/bgpq4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-mgmt/bgpq4/Makefile b/net-mgmt/bgpq4/Makefile
index d7588c317b23..8bad45b8e78d 100644
--- a/net-mgmt/bgpq4/Makefile
+++ b/net-mgmt/bgpq4/Makefile
@@ -11,9 +11,11 @@ COMMENT= Lightweight prefix-list generator for various routers v4
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-USES= autoreconf
+USES= autoreconf compiler:c11
USE_GITHUB= yes
+MAKE_ARGS+= CC="${CC}"
+
GH_ACCOUNT= bgp
GNU_CONFIGURE= yes