diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-07-01 19:38:00 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-07-01 19:38:00 +0000 |
commit | ca0ef7b853e8da8397ead8777bae3782a2cfe983 (patch) | |
tree | 6f80ee5f8994d05b298fdd732b2c58a75d67b6a0 /devel/boost-headers | |
parent | 7a046011cb586bd13f175b0ef496aa8c1c2fb5cc (diff) | |
download | pkgsrc-ca0ef7b853e8da8397ead8777bae3782a2cfe983.tar.gz |
Disable wide streambuf support under NetBSD-current with gcc4 because it
breaks the build.
OK'ed by wiz@.
Diffstat (limited to 'devel/boost-headers')
-rw-r--r-- | devel/boost-headers/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/boost-headers/Makefile b/devel/boost-headers/Makefile index 3bea87ab09f..caf06261754 100644 --- a/devel/boost-headers/Makefile +++ b/devel/boost-headers/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/01/20 20:40:19 jmmv Exp $ +# $NetBSD: Makefile,v 1.7 2006/07/01 19:38:00 jmmv Exp $ # BOOST_PACKAGE= headers @@ -11,6 +11,14 @@ BJAM_ARGS+= --with-unknown # disable all libraries .include "../../devel/boost-build/bjam.mk" +# The following is a quick hack to let boost compile under NetBSD with GCC 4. +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "NetBSD" && !empty(CC_VERSION:Mgcc-4.*) +post-configure: + ${ECHO} "#define BOOST_NO_STD_WSTREAMBUF" \ + >>${WRKSRC}/boost/config/user.hpp +.endif + do-build: do-install: bjam-install |