fix build on NetBSD-8; the qt4 qmake puts in =std=c++98 by default
but this need c++0x at least (this fixes only with gcc; clang build claims that CGAL needs updating)
This commit is contained in:
parent
dd34a4e909
commit
ec520e49c1
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.45 2017/08/24 20:03:05 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.46 2017/12/22 21:50:02 plunky Exp $
|
||||
#
|
||||
|
||||
DISTNAME= openscad-2015.03-3.src
|
||||
|
@ -29,7 +29,8 @@ MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
|
|||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${QTDIR}/bin/qmake \
|
||||
PREFIX=${PREFIX} -after QMAKE_YACC=bison QMAKE_LEX=flex
|
||||
PREFIX=${PREFIX} -after QMAKE_YACC=bison QMAKE_LEX=flex \
|
||||
QMAKE_CXXFLAGS+=-std=c++0x
|
||||
|
||||
.include "../../devel/boost-headers/buildlink3.mk"
|
||||
.include "../../devel/boost-libs/buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue