svn commit: r533275 - head/net-mgmt/bgpq4

Piotr Kubaj pkubaj at FreeBSD.org
Tue Apr 28 21:21:28 UTC 2020


Author: pkubaj
Date: Tue Apr 28 21:21:27 2020
New Revision: 533275
URL: https://svnweb.freebsd.org/changeset/ports/533275

Log:
  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)

Modified:
  head/net-mgmt/bgpq4/Makefile

Modified: head/net-mgmt/bgpq4/Makefile
==============================================================================
--- head/net-mgmt/bgpq4/Makefile	Tue Apr 28 21:20:31 2020	(r533274)
+++ head/net-mgmt/bgpq4/Makefile	Tue Apr 28 21:21:27 2020	(r533275)
@@ -11,8 +11,10 @@ COMMENT=	Lightweight prefix-list generator for various
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-USES=		autoreconf
+USES=		autoreconf compiler:c11
 USE_GITHUB=	yes
+
+MAKE_ARGS+=	CC="${CC}"
 
 GH_ACCOUNT=	bgp
 


More information about the svn-ports-all mailing list