pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/musicpd musicpd: Lower GCC requirement.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c1a3bdba3a11
branches: trunk
changeset: 444449:c1a3bdba3a11
user: nia <nia%pkgsrc.org@localhost>
date: Fri Jan 08 09:31:32 2021 +0000
description:
musicpd: Lower GCC requirement.
This is a build fix for NetBSD/earm...
diffstat:
audio/musicpd/Makefile | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r aad4e3e7c2d8 -r c1a3bdba3a11 audio/musicpd/Makefile
--- a/audio/musicpd/Makefile Fri Jan 08 08:58:30 2021 +0000
+++ b/audio/musicpd/Makefile Fri Jan 08 09:31:32 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.232 2021/01/01 09:52:17 ryoon Exp $
+# $NetBSD: Makefile,v 1.233 2021/01/08 09:31:32 nia Exp $
DISTNAME= mpd-0.22.3
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
@@ -17,8 +17,14 @@
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
-# c++17
-GCC_REQD+= 8
+# The upstream changelog recommends gcc8, but it compiles fine with 7.5.0
+# (NetBSD 9.1) using -std=c++17.
+#
+# Please be cautious of raising this requirement - mpd seems to adopt new C++
+# standards quickly. Notably, gcc8 from pkgsrc doesn't have support for
+# NetBSD/earmv7hf. gcc10 should, but fails for other reasons (TODO:
+# investigate).
+GCC_REQD+= 7
MESON_ARGS+= -Ddocumentation=enabled
Home |
Main Index |
Thread Index |
Old Index