summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-10-09 10:54:06 +0000
committernia <nia@pkgsrc.org>2021-10-09 10:54:06 +0000
commit059147eaa90afe5f6a13228bd7797ab64137a4f8 (patch)
tree709c05ccd330dfa4d7b123e73917a3192164ae13
parent8ef4092f2d7ed2f6f56772a1a1e49da486706395 (diff)
downloadpkgsrc-059147eaa90afe5f6a13228bd7797ab64137a4f8.tar.gz
py-cElementTree: needs wrappers to add std=c99...
-rw-r--r--textproc/py-cElementTree/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/py-cElementTree/Makefile b/textproc/py-cElementTree/Makefile
index ffa6b44db02..66520257d1f 100644
--- a/textproc/py-cElementTree/Makefile
+++ b/textproc/py-cElementTree/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/01/26 17:32:17 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2021/10/09 10:54:06 nia Exp $
PKGNAME= ${PYPKGPREFIX}-cElementTree-${PY_DISTVERSION}
CATEGORIES= textproc python
@@ -7,6 +7,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.effbot.org/zone/celementtree.htm
COMMENT= C implementation of Python ElementTree API
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+USE_LANGUAGES= c99
+
USE_GCC_RUNTIME= yes
PYDISTUTILSPKG= yes