pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/nghttp2 nghttp2: Add GCC_REQ for c++14



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15400850345a
branches:  trunk
changeset: 327595:15400850345a
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Jan 04 14:52:43 2019 +0000

description:
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:

 www/nghttp2/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 79636ec6853b -r 15400850345a www/nghttp2/Makefile
--- a/www/nghttp2/Makefile      Fri Jan 04 13:35:39 2019 +0000
+++ b/www/nghttp2/Makefile      Fri Jan 04 14:52:43 2019 +0000
@@ -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 @@
 LICENSE=       mit
 
 USE_LANGUAGES=         c c++14
+GCC_REQD+=             6
+
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config
 GNU_CONFIGURE=         yes



Home | Main Index | Thread Index | Old Index