diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-05-01 17:58:35 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-05-01 17:58:35 +0000 |
commit | 587615defe7b6c66b1674227c2f73bc749110e20 (patch) | |
tree | 3d69ba79669db1cd60c07806818d8280f72594aa /textproc/p5-Text-BibTeX | |
parent | e5f2f3da13b566db8390619e27fbd6e9346f48b2 (diff) | |
download | ports-587615defe7b6c66b1674227c2f73bc749110e20.tar.gz ports-587615defe7b6c66b1674227c2f73bc749110e20.zip |
textproc/p5-Text-BibTeX: fix build with GCC-based architectures
btparse/tests/namebug.c:193: error: 'for' loop initial declaration used outside C99 mode on GCC architectures.
Set USE_CSTD=c99 to fix build.
PR: 237254
Approved by: perl (maintainer timeout), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20114
Notes
Notes:
svn path=/head/; revision=500601
Diffstat (limited to 'textproc/p5-Text-BibTeX')
-rw-r--r-- | textproc/p5-Text-BibTeX/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/p5-Text-BibTeX/Makefile b/textproc/p5-Text-BibTeX/Makefile index 891cf57871b0..95063c7bf1c1 100644 --- a/textproc/p5-Text-BibTeX/Makefile +++ b/textproc/p5-Text-BibTeX/Makefile @@ -18,6 +18,7 @@ BUILD_DEPENDS= p5-Config-AutoConf>=0.16:devel/p5-Config-AutoConf \ TEST_DEPENDS= p5-Capture-Tiny>=0.06:devel/p5-Capture-Tiny USES= perl5 +USE_CSTD= c99 USE_PERL5= modbuild CFLAGS_amd64= -fPIC |