pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/musicpd musicpd: fix build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc19fb5e51f3
branches:  trunk
changeset: 452221:dc19fb5e51f3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri May 07 07:18:08 2021 +0000

description:
musicpd: fix build

Newer meson recognizes that a target uses rsync and fails to configure.
This target is for upstream website maintenance, so comment it out
to avoid this dependency (and configure failure) in pkgsrc.

diffstat:

 audio/musicpd/distinfo                      |   3 ++-
 audio/musicpd/patches/patch-doc_meson.build |  27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r f55f276b7eaf -r dc19fb5e51f3 audio/musicpd/distinfo
--- a/audio/musicpd/distinfo    Fri May 07 07:14:48 2021 +0000
+++ b/audio/musicpd/distinfo    Fri May 07 07:18:08 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.122 2021/02/24 12:29:48 wiz Exp $
+$NetBSD: distinfo,v 1.123 2021/05/07 07:18:08 wiz Exp $
 
 SHA1 (mpd-0.22.6.tar.xz) = b900af448040d76827ed84dd4ae78e24443513a5
 RMD160 (mpd-0.22.6.tar.xz) = 90fbf971481bcddfcdaad9c6b41718169145b62c
 SHA512 (mpd-0.22.6.tar.xz) = 5e417204e24d11fa609740ae92bc1d796aad2d63537655f655074d829cd79cadaf1ca025171dcf5486c1e557cc946152c21e299286b1cb74cc342da2b1f41343
 Size (mpd-0.22.6.tar.xz) = 730524 bytes
+SHA1 (patch-doc_meson.build) = c9fc4692db47ee77d45c9e874c629c341849a8de
 SHA1 (patch-src_net_IPv6Address.hxx) = 3e0ad6e63a970a17d0d8b2403acc538d8b08342e
diff -r f55f276b7eaf -r dc19fb5e51f3 audio/musicpd/patches/patch-doc_meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicpd/patches/patch-doc_meson.build       Fri May 07 07:18:08 2021 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-doc_meson.build,v 1.1 2021/05/07 07:18:08 wiz Exp $
+
+meson recognizes that it needs rsync. This target is unused,
+remove it from pkgsrc build to avoid rsync dependency.
+
+--- doc/meson.build.orig       2021-02-16 12:56:14.000000000 +0000
++++ doc/meson.build
+@@ -23,19 +23,6 @@ if get_option('html_manual')
+     install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()),
+   )
+ 
+-  custom_target(
+-    'upload',
+-    input: sphinx_output,
+-    output: 'upload',
+-    build_always_stale: true,
+-    command: [
+-      'rsync', '-vpruz', '--delete', meson.current_build_dir() + '/',
+-      'www.musicpd.org:/var/www/mpd/doc/',
+-      '--chmod=Dug+rwx,Do+rx,Fug+rw,Fo+r',
+-      '--include=html', '--include=html/**',
+-      '--exclude=*',
+-    ],
+-  )
+ endif
+ 
+ if get_option('manpages')



Home | Main Index | Thread Index | Old Index