pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/uhd ham/uhd: Deeclare gnu++11 instead of c++11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f421798fb7e
branches:  trunk
changeset: 331966:1f421798fb7e
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Mar 31 00:53:41 2019 +0000

description:
ham/uhd: Deeclare gnu++11 instead of c++11

Upstream does not document language requirements, but this lets it
build on netbsd-8 so it must be right.

diffstat:

 ham/uhd/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 495fde5213ce -r 1f421798fb7e ham/uhd/Makefile
--- a/ham/uhd/Makefile  Sun Mar 31 00:35:05 2019 +0000
+++ b/ham/uhd/Makefile  Sun Mar 31 00:53:41 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2019/03/22 17:58:27 adam Exp $
+# $NetBSD: Makefile,v 1.45 2019/03/31 00:53:41 gdt Exp $
 
 DISTNAME=      uhd-3.13.1.0
 CATEGORIES=    ham
@@ -24,8 +24,14 @@
 # Upstream says C++11 is required, even though it is not documented.
 # It is documented that gcc 4.8 is required, when using gcc.
 # https://github.com/EttusResearch/uhd/issues/236
+#
+# Upstream does not seem to have any documentation that gnu++11 is
+# required, but it builds with tha and not with c++11 on netbsd-8.  No
+# ticket filed because #236 resulted in in-ticket clarification only
+# (and not a doc edit), and having experimented no clarification is
+# needed.
 USE_CMAKE=             yes
-USE_LANGUAGES=         c c++11
+USE_LANGUAGES=         c gnu++11
 USE_TOOLS+=            pkg-config
 GCC_REQD+=             4.8
 # to avoid extra pax_global_header



Home | Main Index | Thread Index | Old Index