summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2017-09-16 15:42:13 +0000
committertnn <tnn@pkgsrc.org>2017-09-16 15:42:13 +0000
commit46a298fe0dfe020596aa27a4fbb1deac50e59fcf (patch)
tree4cbfcd26c143eda97f6d705ef9c07a5694ae0d05 /misc
parent2361b40d6ccdae5e228981544fbf47eebc65352c (diff)
downloadpkgsrc-46a298fe0dfe020596aa27a4fbb1deac50e59fcf.tar.gz
sword: build fix for NetBSD-current
Diffstat (limited to 'misc')
-rw-r--r--misc/sword/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/sword/Makefile b/misc/sword/Makefile
index 896a9f7a809..280451293ee 100644
--- a/misc/sword/Makefile
+++ b/misc/sword/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2017/08/24 20:03:00 adam Exp $
+# $NetBSD: Makefile,v 1.14 2017/09/16 15:42:13 tnn Exp $
#
DISTNAME= sword-1.7.4
@@ -25,6 +25,9 @@ INSTALL_TARGET= install install_config
REQD_FILES= ${PREFIX}/share/examples/sword/sword.conf \
${PKG_SYSCONFDIR}/sword.conf
+# needed with at least GCC-5.4.0 which has a default value of 25
+CXXFLAGS+= -ftemplate-depth=50
+
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libclucene/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"