summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-03-25 12:50:49 +0000
committerjperkin <jperkin@pkgsrc.org>2014-03-25 12:50:49 +0000
commit57bf85b3daa5682dd958bc36002c8864cba32279 (patch)
treef20de179aa35158b18ca959ae074fc7f33148a50 /lang
parentd2204aff5f21faee3a86f9125c70844fd7a9f19c (diff)
downloadpkgsrc-57bf85b3daa5682dd958bc36002c8864cba32279.tar.gz
Increase the default YYMAXDEPTH from 150 to 300, fixes problems building
devel/editline where mdoc2man.awk would previously abort with a stack overflow. This is still pretty conservative compared to other parsers. Bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/nawk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
index dd19caa1532..21390e6ee62 100644
--- a/lang/nawk/Makefile
+++ b/lang/nawk/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2014/03/12 14:20:43 ryoon Exp $
+# $NetBSD: Makefile,v 1.41 2014/03/25 12:50:49 jperkin Exp $
DISTNAME= nawk-20121220
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= # empty
DISTFILES= # empty
@@ -13,7 +14,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
BOOTSTRAP_PKG= yes
-CFLAGS+= ${CPPFLAGS}
+CFLAGS+= ${CPPFLAGS} -DYYMAXDEPTH=300
MAKE_FLAGS+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q}
BUILD_TARGET= a.out