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 logrotate support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ee8eb2fb063
branches:  trunk
changeset: 378057:9ee8eb2fb063
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 28 05:48:01 2022 +0000

description:
musicpd: fix logrotate support

When installing into subdirectories of ${PKG_SYSCONFDIR} we have
to make sure they exist first.

Bump PKGREVISION.

diffstat:

 audio/musicpd/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 308b74cbb60c -r 9ee8eb2fb063 audio/musicpd/Makefile
--- a/audio/musicpd/Makefile    Wed Apr 27 22:27:55 2022 +0000
+++ b/audio/musicpd/Makefile    Thu Apr 28 05:48:01 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.261 2022/04/18 19:10:24 adam Exp $
+# $NetBSD: Makefile,v 1.262 2022/04/28 05:48:01 wiz Exp $
 
 DISTNAME=      mpd-0.23.6
 PKGNAME=       ${DISTNAME:S/mpd/musicpd/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    audio
 MASTER_SITES=  https://www.musicpd.org/download/mpd/${PKGVERSION_NOREV:R}/
 EXTRACT_SUFX=  .tar.xz
@@ -72,6 +72,7 @@
 CONF_FILES+=   ${EGDIR}/mpd.conf ${PKG_SYSCONFDIR}/mpd.conf
 CONF_FILES+=   ${EGDIR}/logrotate.d/mpd ${PKG_SYSCONFDIR}/logrotate.d/mpd
 RCD_SCRIPTS=   mpd
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/logrotate.d
 
 FILES_SUBST+=  MPD_USER=${MPD_USER:Q}
 FILES_SUBST+=  MPD_GROUP=${MPD_GROUP:Q}



Home | Main Index | Thread Index | Old Index