summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2021-01-10 19:25:18 +0000
committerbsiegert <bsiegert@pkgsrc.org>2021-01-10 19:25:18 +0000
commit0cd2a80b0fe203074d1ecc8ec5fbf9f1a4323b1c (patch)
tree03349627685e28e21c6cbdafaa5edca50c9c6f05
parentc84068f0f79ca92b6417ad9d2ce95a974c5b3bff (diff)
downloadpkgsrc-0cd2a80b0fe203074d1ecc8ec5fbf9f1a4323b1c.tar.gz
Pullup ticket #6394 - requested by nia
audio/musicpd: NetBSD/earm build fix Revisions pulled up: - audio/musicpd/Makefile 1.233 --- Module Name: pkgsrc Committed By: nia Date: Fri Jan 8 09:31:32 UTC 2021 Modified Files: pkgsrc/audio/musicpd: Makefile Log Message: musicpd: Lower GCC requirement. This is a build fix for NetBSD/earm...
-rw-r--r--audio/musicpd/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index ff6585b2031..ea3297122a2 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.230 2020/12/04 04:55:42 riastradh Exp $
+# $NetBSD: Makefile,v 1.230.2.1 2021/01/10 19:25:18 bsiegert Exp $
DISTNAME= mpd-0.22.3
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
@@ -17,8 +17,14 @@ CONFLICTS= mpd-[0-9]*
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