summaryrefslogtreecommitdiff
path: root/www/nghttp2
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-01-04 14:52:43 +0000
committergdt <gdt@pkgsrc.org>2019-01-04 14:52:43 +0000
commitd25adf329dbdd4a6a2afdb6fae07a94ed30fdb29 (patch)
treef7cf953a35fc2d53c50de70f7a055246f09213ac /www/nghttp2
parenta2d5e484338ffedb73daf0a4546714c37b136e1d (diff)
downloadpkgsrc-d25adf329dbdd4a6a2afdb6fae07a94ed30fdb29.tar.gz
nghttp2: Add GCC_REQ for c++14
While the package without options does not actually use C++14, configure looks for it, and fails to find the C++ version of the C preprocessor, at least on betbsd-7 with gcc 4.8.5. (Perhaps the cpp searching could be fixed, and the USE_LANGUAGES pushed into options that need it, but that seems more complicated than is useful, given that one more or less needs to have a C++14 cpmpiler anyway.)
Diffstat (limited to 'www/nghttp2')
-rw-r--r--www/nghttp2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile
index d958d4d16c9..4c8c7c96310 100644
--- a/www/nghttp2/Makefile
+++ b/www/nghttp2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2018/12/13 19:51:38 adam Exp $
+# $NetBSD: Makefile,v 1.47 2019/01/04 14:52:43 gdt Exp $
DISTNAME= nghttp2-1.35.1
PKGREVISION= 1
@@ -13,6 +13,8 @@ COMMENT= Implementation of HTTP/2 in C
LICENSE= mit
USE_LANGUAGES= c c++14
+GCC_REQD+= 6
+
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes