Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 11:12:13 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cd128660bc77 - main - x11-toolkits/ztoolkit: fix build on GCC-based systems
Message-ID:  <202106071112.157BCDbl079306@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by linimon:

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

commit cd128660bc7799e2d559c302d0d19cac9d92a25e
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-06-07 11:11:15 +0000
Commit:     Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2021-06-07 11:11:15 +0000

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

diff --git a/x11-toolkits/ztoolkit/Makefile b/x11-toolkits/ztoolkit/Makefile
index 768b0e004ab6..ac55ff3fad26 100644
--- a/x11-toolkits/ztoolkit/Makefile
+++ b/x11-toolkits/ztoolkit/Makefile
@@ -11,7 +11,7 @@ COMMENT=	GUI toolkit heavily inspired by GTK
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		gnome meson pkgconfig xorg
+USES=		compiler:c11 gnome meson pkgconfig xorg
 USE_GNOME=	cairo
 USE_XORG=	x11
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106071112.157BCDbl079306>