summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2017-12-22 21:50:02 +0000
committerplunky <plunky@pkgsrc.org>2017-12-22 21:50:02 +0000
commit8cab73b612eb460e1cccda8d91b65cdf643b813d (patch)
tree3f5ac80fc79fc94e7137e4ef808c35f999334cb0 /cad
parentec6fc72f286431aa1565d256428df2b0663932b1 (diff)
downloadpkgsrc-8cab73b612eb460e1cccda8d91b65cdf643b813d.tar.gz
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)
Diffstat (limited to 'cad')
-rw-r--r--cad/openscad/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cad/openscad/Makefile b/cad/openscad/Makefile
index f1e5c7a34db..7172ade4bde 100644
--- a/cad/openscad/Makefile
+++ b/cad/openscad/Makefile
@@ -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"