diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-16 15:20:35 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-16 15:20:35 +0000 |
commit | 94c2b8e8e7793e8b3732dd706964abaf3f82bf3e (patch) | |
tree | 75ac628af2bbbb5e48749000ccae3742debccf9f /mail | |
parent | fceee50a6e5a8bcfb077ccee2b29de9af1737e2a (diff) | |
download | pkgsrc-94c2b8e8e7793e8b3732dd706964abaf3f82bf3e.tar.gz |
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.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/policyd-weight/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/policyd-weight/Makefile b/mail/policyd-weight/Makefile index 2aae6b7b608..a256a3d1fba 100644 --- a/mail/policyd-weight/Makefile +++ b/mail/policyd-weight/Makefile @@ -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 |