summaryrefslogtreecommitdiff
path: root/ham/uhd/Makefile
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-03-31 00:53:41 +0000
committergdt <gdt@pkgsrc.org>2019-03-31 00:53:41 +0000
commitd1fa60e40a5fb2501cf0ea879760705f50888953 (patch)
tree24e4b9fb2f245dae75c09b4899d79573e780cd04 /ham/uhd/Makefile
parentb9e80a7bfe221473445518f405d1dfa3b817f932 (diff)
downloadpkgsrc-d1fa60e40a5fb2501cf0ea879760705f50888953.tar.gz
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 (limited to 'ham/uhd/Makefile')
-rw-r--r--ham/uhd/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/ham/uhd/Makefile b/ham/uhd/Makefile
index 032a25cfb41..1bd06801e3d 100644
--- a/ham/uhd/Makefile
+++ b/ham/uhd/Makefile
@@ -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 @@ CMAKE_ARGS+= -DENABLE_PYTHON3=ON
# 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