git: b5fb5e762065 - main - irc/pounce: fix build on GCC-based systems

Mark Linimon linimon at FreeBSD.org
Mon Jun 7 12:08:14 UTC 2021


The branch main has been updated by linimon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b5fb5e762065f020805a6379f08a460e1ea80333

commit b5fb5e762065f020805a6379f08a460e1ea80333
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-06-07 12:07:25 +0000
Commit:     Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-06-07 12:07:25 +0000

    irc/pounce: fix build on GCC-based systems
    
    by adding compiler:c11 to USES:
    
      cc1: error: unrecognized command line option "-Wpedantic"
      cc1: error: unrecognized command line option "-std=c11"
---
 irc/pounce/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/irc/pounce/Makefile b/irc/pounce/Makefile
index e2f105502db3..8a743ff3efd0 100644
--- a/irc/pounce/Makefile
+++ b/irc/pounce/Makefile
@@ -9,7 +9,7 @@ COMMENT=	Multi-client IRC bouncer
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		localbase:ldflags ssl
+USES=		compiler:c11 localbase:ldflags ssl
 USE_RC_SUBR=	calico pounce
 
 MAKE_ENV+=	MANDIR=${MANPREFIX}/man


More information about the dev-commits-ports-main mailing list