pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/policyd-weight
Module Name: pkgsrc
Committed By: rillig
Date: Sat May 16 15:20:35 UTC 2020
Modified Files:
pkgsrc/mail/policyd-weight: Makefile
Log Message:
mail/policyd-weight: properly escape dot in regular expression
Without this escaping, mk/subst.mk sees that there are no actual changes
with the default setup. Nevertheless, mk/scripts/subst-identity.awk does
not classify the sed command as an identity transformation because there
_might_ be the text /etc/policyd-weightXconf, and the X would match the
dot. Therefore, subst.mk aborts the build when it is in SUBST_NOOP_OK=no
mode.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/mail/policyd-weight/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/policyd-weight/Makefile
diff -u pkgsrc/mail/policyd-weight/Makefile:1.12 pkgsrc/mail/policyd-weight/Makefile:1.13
--- pkgsrc/mail/policyd-weight/Makefile:1.12 Sun Aug 11 13:21:40 2019
+++ pkgsrc/mail/policyd-weight/Makefile Sat May 16 15:20:35 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/08/11 13:21:40 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2020/05/16 15:20:35 rillig Exp $
#
DISTNAME= policyd-weight-0.1.14.17
@@ -39,7 +39,7 @@ SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= post-build
SUBST_FILES.fix-paths= policyd-weight policyd-weight.conf.sample
SUBST_SED.fix-paths= -e 's,"/var/run/,"${VARBASE}/run/,g'
-SUBST_SED.fix-paths+= -e 's,"/etc/policyd-weight.conf","${PKG_SYSCONFDIR}/policyd-weight.conf",g'
+SUBST_SED.fix-paths+= -e 's,"/etc/policyd-weight\.conf","${PKG_SYSCONFDIR}/policyd-weight.conf",g'
SUBST_SED.fix-paths+= -e 's,"polw";,"${POLICYD_WEIGHT_USER}";,g'
do-build: replace-interpreter
Home |
Main Index |
Thread Index |
Old Index