Sun Mar 22 18:48:07 2020 UTC ()
sysutils/munin-common: fix location of REPLACE_PERL

In Makefile.common, the WRKSRC is redirected.


(rillig)
diff -r1.1 -r1.2 pkgsrc/sysutils/munin-common/Makefile
diff -r1.1 -r1.2 pkgsrc/sysutils/munin-common/Makefile.common

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/munin-common/Makefile (expand / switch to context diff)
--- pkgsrc/sysutils/munin-common/Makefile 2019/09/09 12:21:44 1.1
+++ pkgsrc/sysutils/munin-common/Makefile 2020/03/22 18:48:06 1.2
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2019/09/09 12:21:44 tm Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/22 18:48:06 rillig Exp $
 #
 
 PKGNAME=	${DISTNAME:S/munin/munin-common/}
+PKGREVISION=	1
 COMMENT=	Common components between a munin node and master
 
 .include "../../sysutils/munin-common/Makefile.common"

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/munin-common/Makefile.common (expand / switch to context diff)
--- pkgsrc/sysutils/munin-common/Makefile.common 2019/09/09 12:21:44 1.1
+++ pkgsrc/sysutils/munin-common/Makefile.common 2020/03/22 18:48:06 1.2
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2019/09/09 12:21:44 tm Exp $
+# $NetBSD: Makefile.common,v 1.2 2020/03/22 18:48:06 rillig Exp $
 #
 # used by sysutils/munin-common/Makefile
 # used by sysutils/munin-master/Makefile
@@ -51,7 +51,7 @@
 
 EGDIR=			${PREFIX}/share/examples/munin
 
-REPLACE_PERL=		master/_bin/munin-update.in
+REPLACE_PERL=		${WRKDIR}/${DISTNAME}/master/_bin/munin-update.in
 
 FILES_SUBST+=		MUNIN_GROUP=${MUNIN_GROUP}
 FILES_SUBST+=		MUNIN_RUN=${MUNIN_RUN:Q}