Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 11:17:01 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: 5cc8be5f6cf3 - main - devel/envsubst: add USE_CSTD=c99 to fix build on GCC-based systems:
Message-ID:  <202104161117.13GBH1O0011776@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=5cc8be5f6cf3295be57741536449bb5a4852a06b

commit 5cc8be5f6cf3295be57741536449bb5a4852a06b
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-04-16 11:15:38 +0000
Commit:     Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2021-04-16 11:15:38 +0000

    devel/envsubst: add USE_CSTD=c99 to fix build on GCC-based systems:
    
      envsubst.c:47: error: 'for' loop initial declaration used outside C99 mode
---
 devel/envsubst/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/envsubst/Makefile b/devel/envsubst/Makefile
index b5a0544731f9..a88fcb0bfaf2 100644
--- a/devel/envsubst/Makefile
+++ b/devel/envsubst/Makefile
@@ -10,6 +10,7 @@ COMMENT=	Perform variable substitutions on input
 LICENSE=	ISCL
 
 USES=		tar:xz
+USE_CSTD=	c99
 
 ALL_TARGET=	${PORTNAME}
 



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