pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/musicpd



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Apr 28 05:48:02 UTC 2022

Modified Files:
        pkgsrc/audio/musicpd: Makefile

Log Message:
musicpd: fix logrotate support

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 pkgsrc/audio/musicpd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/musicpd/Makefile
diff -u pkgsrc/audio/musicpd/Makefile:1.261 pkgsrc/audio/musicpd/Makefile:1.262
--- pkgsrc/audio/musicpd/Makefile:1.261 Mon Apr 18 19:10:24 2022
+++ pkgsrc/audio/musicpd/Makefile       Thu Apr 28 05:48:01 2022
@@ -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 @@ EGDIR=                ${PREFIX}/share/examples/mpd
 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