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: Add language rules from upstream bug ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f03744a537d4
branches:  trunk
changeset: 330293:f03744a537d4
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Feb 27 00:35:25 2019 +0000

description:
ham/uhd: Add language rules from upstream bug report

c++11 and gcc 4.8 are required, per upstream.

diffstat:

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

diffs (23 lines):

diff -r fa49b6dc3ce8 -r f03744a537d4 ham/uhd/Makefile
--- a/ham/uhd/Makefile  Tue Feb 26 22:37:08 2019 +0000
+++ b/ham/uhd/Makefile  Wed Feb 27 00:35:25 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2019/02/24 21:41:11 mef Exp $
+# $NetBSD: Makefile,v 1.42 2019/02/27 00:35:25 gdt Exp $
 
 # 3.13.0.1 is missing *_firmware_burner, and it's not clear that is correct.
 DISTNAME=              uhd-3.11.1.0
@@ -21,7 +21,12 @@
 CMAKE_ARGS+=           -DRST2HTML_EXECUTABLE=${PREFIX}/bin/rst2html-${PYVERSSUFFIX}.py
 CMAKE_ARGS+=           -Wno-dev
 
-USE_LANGUAGES=         c c++
+# 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
+USE_LANGUAGES=         c c++11
+# c++11
+GCC_REQD+=             4.8
 USE_TOOLS=             cmake pkg-config
 USE_CMAKE=             yes
 # extra pax_global_header exists, and to avoid that:



Home | Main Index | Thread Index | Old Index