aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-28 21:25:16 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-28 21:25:16 +0000
commitc3dfa007346804d049ff8883f33b3453d70b73b6 (patch)
tree95bab86f4b825acc3b1a272c8c165b7d7c3d42cc /net-mgmt
parenta980005222cf907894f2c9c17364170c4f450522 (diff)
downloadports-c3dfa007346804d049ff8883f33b3453d70b73b6.tar.gz
ports-c3dfa007346804d049ff8883f33b3453d70b73b6.zip
MFH: r533275
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. Approved by: portmgr (fix build blanket)
Notes
Notes: svn path=/branches/2020Q2/; revision=533276
Diffstat (limited to 'net-mgmt')
-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