pkgsrc-Changes archive

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

CVS commit: pkgsrc/cad/openscad



Module Name:    pkgsrc
Committed By:   plunky
Date:           Fri Dec 22 21:50:02 UTC 2017

Modified Files:
        pkgsrc/cad/openscad: Makefile

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/cad/openscad/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/cad/openscad/Makefile
diff -u pkgsrc/cad/openscad/Makefile:1.45 pkgsrc/cad/openscad/Makefile:1.46
--- pkgsrc/cad/openscad/Makefile:1.45   Thu Aug 24 20:03:05 2017
+++ pkgsrc/cad/openscad/Makefile        Fri Dec 22 21:50:02 2017
@@ -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"



Home | Main Index | Thread Index | Old Index