pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/libreoffice devel/cppunit/buildlink3.mk provides ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2284820a05ee
branches:  trunk
changeset: 361867:2284820a05ee
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Apr 27 14:10:39 2017 +0000

description:
devel/cppunit/buildlink3.mk provides -std=c++11, however misc/libreoffice
uses -std=gnu++14 and build fails. Add workaround.

diffstat:

 misc/libreoffice/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 1952fe34c895 -r 2284820a05ee misc/libreoffice/Makefile
--- a/misc/libreoffice/Makefile Thu Apr 27 14:08:34 2017 +0000
+++ b/misc/libreoffice/Makefile Thu Apr 27 14:10:39 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2017/04/22 21:03:44 adam Exp $
+# $NetBSD: Makefile,v 1.108 2017/04/27 14:10:39 ryoon Exp $
 
 VERREL=                5.3.2
 VERRC=         2
@@ -14,6 +14,9 @@
 COMMENT=       Office productivity suite from The Document Foundation
 LICENSE=       gnu-lgpl-v3
 
+# devel/cppunit/buildlink3.mk defined -std=c++11 and build fails
+BUILDLINK_TRANSFORM+=          opt:-std=c++11:-std=gnu++14
+
 SUBST_CLASSES+=                        use-bash
 SUBST_STAGE.use-bash=          pre-configure
 SUBST_MESSAGE.use-bash=                Using bash for configure script



Home | Main Index | Thread Index | Old Index