pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
devel/cre2 needs +CFLAGS+= -std=c++11 (Re: pkgsrc NetBSD 7.0.1_PATCH/x86_64 2016-10-12 13:56
Am I correct for this problem ?
http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20161012.1356/cre2-0.1b6/configure.log
checking for main in -lre2... yes
checking re2/re2.h usability... no
checking re2/re2.h presence... no
checking for re2/re2.h... no
configure: error: test for RE2 header failed
*** Error code 1
Stop.
make[1]: stopped in /data/pkgsrc-current/devel/cre2
*** Error code 1
---
mef%NetBSD.org@localhost
Makoto Fujiwara,
Chiba, Japan, Narita Airport and Disneyland prefecture.
Index: devel/cre2/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/cre2/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/cre2/Makefile 9 Feb 2016 03:37:38 -0000 1.2
+++ devel/cre2/Makefile 13 Oct 2016 13:03:01 -0000
@@ -17,6 +17,12 @@
USE_LANGUAGES+= c c++
USE_TOOLS+= autoconf autoreconf automake gmake makeinfo
+# /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 is currently experimental, and must be
+# enabled with the -std=c++11 or -std=gnu++11 compiler options.
+CFLAGS+= -std=c++11
+
INFO_FILES= yes
pre-configure:
Home |
Main Index |
Thread Index |
Old Index