summaryrefslogtreecommitdiff
path: root/lang/ruby26-base
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-16 06:45:50 +0000
committernia <nia@pkgsrc.org>2021-04-16 06:45:50 +0000
commite84c9b82472bbf3c2c2798d28ae1d3987bbb62d6 (patch)
tree9878e2d0de75758ca775d50d777475a6facc1100 /lang/ruby26-base
parent96b8427f0c4af9a2d399e8e869fd60f3a638cdda (diff)
downloadpkgsrc-e84c9b82472bbf3c2c2798d28ae1d3987bbb62d6.tar.gz
ruby26-base: assumes compiler defaults to c99 mode
Diffstat (limited to 'lang/ruby26-base')
-rw-r--r--lang/ruby26-base/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/ruby26-base/Makefile b/lang/ruby26-base/Makefile
index 133513d22e0..a037b0f1f89 100644
--- a/lang/ruby26-base/Makefile
+++ b/lang/ruby26-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2021/04/11 12:28:37 taca Exp $
+# $NetBSD: Makefile,v 1.14 2021/04/16 06:45:50 nia Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
@@ -13,6 +13,8 @@ RUBY_VERSIONS_ACCEPTED= 26
MAKE_JOBS_SAFE= no
USE_GCC_RUNTIME= yes
+# error: 'for' loop initial declarations are only allowed in C99 mode
+USE_LANGUAGES= c99
USE_TOOLS+= pax yacc pkg-config
GNU_CONFIGURE= yes
TEST_TARGET= test