From 304ba445d13d2ca1a19651ffe8e16343907ab883 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Wed, 23 Feb 2022 16:46:14 -0500 Subject: audio/mpd: Fix build when Sphinx not installed. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- audio/mpd/README | 1 + audio/mpd/mpd.SlackBuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'audio/mpd') diff --git a/audio/mpd/README b/audio/mpd/README index 4504f8b21b..4edced9482 100644 --- a/audio/mpd/README +++ b/audio/mpd/README @@ -12,6 +12,7 @@ Some optional and important dependencies, detected automatically: * libmms: used for play mms:// and mmsh:// type network streams * avahi: add support for discovering services on network * yajl: add support for open soundcloud.com streams +* Sphinx: used to generate man pages for mpd(1) and mpd.conf(5) Other optional dependencies, detected automatically: libmpdclient, musepack-tools, faad2, libsidplay2, twolame, libnfs, jack, zziplib. diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild index f332d1be06..3a85c205a5 100644 --- a/audio/mpd/mpd.SlackBuild +++ b/audio/mpd/mpd.SlackBuild @@ -124,7 +124,7 @@ rm -rf $PKG/usr/share/doc # Use sample config, without overwriting install -D -m 644 doc/mpdconf.example $PKG/etc/mpd.conf.new -gzip -9 $PKG/usr/man/man*/* +[ -d $PKG/usr/man ] && gzip -9 $PKG/usr/man/man*/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3