pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/boost-headers Disable wide streambuf support und...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8799bfc2e2d1
branches: trunk
changeset: 515355:8799bfc2e2d1
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sat Jul 01 19:38:00 2006 +0000
description:
Disable wide streambuf support under NetBSD-current with gcc4 because it
breaks the build.
OK'ed by wiz@.
diffstat:
devel/boost-headers/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 9cea8762f307 -r 8799bfc2e2d1 devel/boost-headers/Makefile
--- a/devel/boost-headers/Makefile Sat Jul 01 19:37:25 2006 +0000
+++ b/devel/boost-headers/Makefile Sat Jul 01 19:38:00 2006 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index