pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/protobuf protobuf: Needs a c++11 capable compiler
details: https://anonhg.NetBSD.org/pkgsrc/rev/26689965d8be
branches: trunk
changeset: 441070:26689965d8be
user: nia <nia%pkgsrc.org@localhost>
date: Sun Oct 25 12:51:24 2020 +0000
description:
protobuf: Needs a c++11 capable compiler
diffstat:
devel/protobuf/Makefile | 5 ++++-
devel/protobuf/buildlink3.mk | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 4f23d60eb2b5 -r 26689965d8be devel/protobuf/Makefile
--- a/devel/protobuf/Makefile Sun Oct 25 12:45:52 2020 +0000
+++ b/devel/protobuf/Makefile Sun Oct 25 12:51:24 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2020/08/21 11:29:18 adam Exp $
+# $NetBSD: Makefile,v 1.34 2020/10/25 12:51:24 nia Exp $
DISTNAME= protobuf-cpp-3.13.0
PKGNAME= ${DISTNAME:S/-cpp//}
@@ -34,6 +34,9 @@
CXXFLAGS+= -march=i586
.endif
+# configure: error: *** A compiler with support for C++11 language features is required.
+GCC_REQD+= 4.8
+
# included in third_party
#.include "../../devel/googletest/buildlink3.mk"
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.0.4
diff -r 4f23d60eb2b5 -r 26689965d8be devel/protobuf/buildlink3.mk
--- a/devel/protobuf/buildlink3.mk Sun Oct 25 12:45:52 2020 +0000
+++ b/devel/protobuf/buildlink3.mk Sun Oct 25 12:51:24 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2020/05/21 16:30:33 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2020/10/25 12:51:24 nia Exp $
BUILDLINK_TREE+= protobuf
@@ -9,6 +9,8 @@
BUILDLINK_ABI_DEPENDS.protobuf+= protobuf>=3.12.0
BUILDLINK_PKGSRCDIR.protobuf?= ../../devel/protobuf
+GCC_REQD+= 4.8
+
.include "../../devel/zlib/buildlink3.mk"
.endif # PROTOBUF_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index