diff options
author | rillig <rillig@pkgsrc.org> | 2019-05-23 19:22:54 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2019-05-23 19:22:54 +0000 |
commit | cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5 (patch) | |
tree | dfd45506cac9c8adb60a55d809ab0dbc4d5a750e /www/moodle | |
parent | afe0216c35d9e0e0b96fe80eb38badf368ef84a7 (diff) | |
download | pkgsrc-cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5.tar.gz |
all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F
With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
Diffstat (limited to 'www/moodle')
-rw-r--r-- | www/moodle/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/moodle/Makefile b/www/moodle/Makefile index 77a6f983a00..1f24727ca98 100644 --- a/www/moodle/Makefile +++ b/www/moodle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.72 2019/03/11 07:52:06 wen Exp $ +# $NetBSD: Makefile,v 1.73 2019/05/23 19:23:20 rillig Exp $ DISTNAME= moodle-3.6.3 CATEGORIES= www @@ -58,8 +58,8 @@ SUBST_CLASSES+= conf SUBST_MESSAGE.conf= Fixing pathnames in configuration file. SUBST_STAGE.conf= pre-configure SUBST_FILES.conf= ../moodle.conf -SUBST_SED.conf= -e "s,@MOODLEDIR@,${MOODLEDIR},g" -SUBST_SED.conf+= -e "s,@MOODLEDATADIR@,${MOODLEDATADIR},g" +SUBST_VARS.conf= MOODLEDIR +SUBST_VARS.conf+= MOODLEDATADIR .if ${PKG_APACHE} == "apache24" SUBST_SED.conf+= -e "/Order allow,deny/d" SUBST_SED.conf+= -e "s,Allow from all,Require all granted,g" |