pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/openscad fix build on NetBSD-8; the qt4 qmake puts...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1f5196e8dfc
branches:  trunk
changeset: 372986:c1f5196e8dfc
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Fri Dec 22 21:50:02 2017 +0000

description:
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:

 cad/openscad/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a98f27feb1d5 -r c1f5196e8dfc cad/openscad/Makefile
--- a/cad/openscad/Makefile     Fri Dec 22 21:47:20 2017 +0000
+++ b/cad/openscad/Makefile     Fri Dec 22 21:50:02 2017 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index