pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/xyconvert (math/xyconvert) +USE_LANGUAGES+= c++



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5fba83edeff
branches:  trunk
changeset: 454795:e5fba83edeff
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Jun 19 13:38:23 2021 +0000

description:
(math/xyconvert) +USE_LANGUAGES+= c++

The problem was:

~/usr/include/g++/bits/c++0x_warning.h:32:2: error: #error
This file requires compiler and library support for the ISO C++ 2011 standard.
This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^~~~~

diffstat:

 math/xyconvert/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 8f30c4ca5fb9 -r e5fba83edeff math/xyconvert/Makefile
--- a/math/xyconvert/Makefile   Sat Jun 19 13:18:30 2021 +0000
+++ b/math/xyconvert/Makefile   Sat Jun 19 13:38:23 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2021/04/21 11:42:11 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/06/19 13:38:23 mef Exp $
 #
 
 PKGREVISION= 6
@@ -11,6 +11,8 @@
 DISTINFO_FILE= ../../math/xylib/distinfo
 PATCHDIR=      ../../math/xylib/patches
 
+USE_LANGUAGES+=        c++11
+
 GNU_CONFIGURE_WX_VERSION=      no
 
 do-install:



Home | Main Index | Thread Index | Old Index