Sun Jan 10 19:25:18 2021 UTC ()
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...


(bsiegert)
diff -r1.230 -r1.230.2.1 pkgsrc/audio/musicpd/Makefile

cvs diff -r1.230 -r1.230.2.1 pkgsrc/audio/musicpd/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/musicpd/Makefile 2020/12/04 04:55:42 1.230
+++ pkgsrc/audio/musicpd/Makefile 2021/01/10 19:25:18 1.230.2.1
@@ -1,34 +1,40 @@ @@ -1,34 +1,40 @@
1# $NetBSD: Makefile,v 1.230 2020/12/04 04:55:42 riastradh Exp $ 1# $NetBSD: Makefile,v 1.230.2.1 2021/01/10 19:25:18 bsiegert Exp $
2 2
3DISTNAME= mpd-0.22.3 3DISTNAME= mpd-0.22.3
4PKGNAME= ${DISTNAME:S/mpd/musicpd/} 4PKGNAME= ${DISTNAME:S/mpd/musicpd/}
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= audio 6CATEGORIES= audio
7MASTER_SITES= https://www.musicpd.org/download/mpd/0.22/ 7MASTER_SITES= https://www.musicpd.org/download/mpd/0.22/
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.musicpd.org/ 11HOMEPAGE= https://www.musicpd.org/
12COMMENT= Remote controllable audio player 12COMMENT= Remote controllable audio player
13LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
14 14
15CONFLICTS= mpd-[0-9]* 15CONFLICTS= mpd-[0-9]*
16 16
17USE_TOOLS+= pkg-config 17USE_TOOLS+= pkg-config
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19 19
20# c++17 20# The upstream changelog recommends gcc8, but it compiles fine with 7.5.0
21GCC_REQD+= 8 21# (NetBSD 9.1) using -std=c++17.
 22#
 23# Please be cautious of raising this requirement - mpd seems to adopt new C++
 24# standards quickly. Notably, gcc8 from pkgsrc doesn't have support for
 25# NetBSD/earmv7hf. gcc10 should, but fails for other reasons (TODO:
 26# investigate).
 27GCC_REQD+= 7
22 28
23MESON_ARGS+= -Ddocumentation=enabled 29MESON_ARGS+= -Ddocumentation=enabled
24 30
25# worrying libraries with limited maintainance: 31# worrying libraries with limited maintainance:
26# - audiofile, many CVEs, no activity since 2016 32# - audiofile, many CVEs, no activity since 2016
27# using sndfile instead 33# using sndfile instead
28# - mad, no release since 2004 34# - mad, no release since 2004
29# using mpg123 instead 35# using mpg123 instead
30MESON_ARGS+= -Dmad=disabled 36MESON_ARGS+= -Dmad=disabled
31MESON_ARGS+= -Daudiofile=disabled 37MESON_ARGS+= -Daudiofile=disabled
32 38
33# not available in pkgsrc? 39# not available in pkgsrc?
34MESON_ARGS+= -Dnfs=disabled 40MESON_ARGS+= -Dnfs=disabled