summaryrefslogtreecommitdiff
path: root/devel/boost-libs
diff options
context:
space:
mode:
authorjmmv <jmmv>2006-08-23 08:52:54 +0000
committerjmmv <jmmv>2006-08-23 08:52:54 +0000
commit1f0dd34925e03f0356f9e2c259a2f1e204678e45 (patch)
tree4a8b56c34a3112a0a7f83a62eb02a20ab490c6c0 /devel/boost-libs
parent42d0b69c840d2c71fa444381025eca167cda8c29 (diff)
downloadpkgsrc-1f0dd34925e03f0356f9e2c259a2f1e204678e45.tar.gz
Beleatedly add a little hack to fix build under NetBSD/amd64: gcc gets
stalled while compiling a file. Tested by jschauma@.
Diffstat (limited to 'devel/boost-libs')
-rw-r--r--devel/boost-libs/hacks.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/boost-libs/hacks.mk b/devel/boost-libs/hacks.mk
new file mode 100644
index 00000000000..c0c4046edac
--- /dev/null
+++ b/devel/boost-libs/hacks.mk
@@ -0,0 +1,7 @@
+# $NetBSD: hacks.mk,v 1.1 2006/08/23 08:52:54 jmmv Exp $
+
+# GCC 3.3.3 enters an infinite loop under NetBSD/amd64 in Boost.Wave's
+# insantiate_cpp_literalgrs.cpp source file. Avoid compiling it.
+# To make things simple, apply the hack to all the platforms so that the
+# builds are consistent.
+BJAM_BUILD+= <define>BOOST_WAVE_SEPARATE_GRAMMAR_INSTANTIATION=0