summaryrefslogtreecommitdiff
path: root/net/xorp/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2018-09-29 13:39:31 +0000
committertnn <tnn@pkgsrc.org>2018-09-29 13:39:31 +0000
commit1904e6ca47e93b31c28cd949baffc829b39be084 (patch)
tree21706685370e53a1af0970166893e9d88e671741 /net/xorp/Makefile
parent6e1aa6c5e4a4f63f5f81c6444598487eed949934 (diff)
downloadpkgsrc-1904e6ca47e93b31c28cd949baffc829b39be084.tar.gz
xorp: build fix
Diffstat (limited to 'net/xorp/Makefile')
-rw-r--r--net/xorp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/xorp/Makefile b/net/xorp/Makefile
index fc811091164..ce29ecf608f 100644
--- a/net/xorp/Makefile
+++ b/net/xorp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2016/03/05 11:29:14 jperkin Exp $
+# $NetBSD: Makefile,v 1.34 2018/09/29 13:39:31 tnn Exp $
#
DISTNAME= xorp-1.6
@@ -33,6 +33,9 @@ pre-build:
# these days. See PR 36974; also there are other warnings with gcc48.
BUILDLINK_TRANSFORM+= rm:-Werror
+# configure sets the template depth limit to 25 but it is too small
+BUILDLINK_TRANSFORM+= opt:-ftemplate-depth-25:-ftemplate-depth=50
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"