diff options
author | wiz <wiz@pkgsrc.org> | 2016-06-06 11:17:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-06-06 11:17:11 +0000 |
commit | 97bb6ad8f254eabb93ce33a5d725c217a1a4c6a1 (patch) | |
tree | 9e78a3617389f507e10b419dc1dae530394b61e9 /chat | |
parent | f3611b0295a3d039f49694b494acc8ced68d5824 (diff) | |
download | pkgsrc-97bb6ad8f254eabb93ce33a5d725c217a1a4c6a1.tar.gz |
Force c++11. Use CXXFLAGS in build.
Not enough to make this build with current boost, but at least it
gets further, now fails with:
In file included from work/.buildlink/include/boost/optional/optional.hpp:35:0,
from work/.buildlink/include/boost/optional.hpp:15,
from Swiften/Parser/AttributeMap.cpp:10:
work/.buildlink/include/boost/type_traits/type_with_alignment.hpp:42:17: error: 'int128_type' in namespace 'boost' does not name a type
boost::int128_type i128;
^
Diffstat (limited to 'chat')
-rw-r--r-- | chat/swift/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chat/swift/Makefile b/chat/swift/Makefile index e100020714a..707c8d967c8 100644 --- a/chat/swift/Makefile +++ b/chat/swift/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2016/04/11 19:01:43 ryoon Exp $ +# $NetBSD: Makefile,v 1.12 2016/06/06 11:17:11 wiz Exp $ DISTNAME= swift-3.0 PKGREVISION= 2 @@ -15,6 +15,8 @@ DEPENDS+= scons>=1.3:../../devel/scons USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config +CXXFLAGS+= -std=c++11 + INSTALLATION_DIRS= ${PKGMANDIR}/man1 SUBST_CLASSES+= path @@ -30,6 +32,7 @@ do-configure: ${ECHO} "qt=\"${QTDIR}\"" > config.py ;\ ${ECHO} "qt5=1" >> config.py ;\ ${ECHO} "linkflags=\"-L${PREFIX}/lib -Wl,-R${QTDIR}/lib -Wl,-R${X11BASE}/lib -Wl,-R${BUILDLINK_DIR}/lib\"" >> config.py ; \ + ${ECHO} "ccflags=\"${CXXFLAGS}\"" >> config.py ; \ ${ECHO} "allow_warnings=\"true\"" >> config.py ; do-build: |