www/awstats: Replace post-patch-JSON-on with post-patch-JSON-off
We have to remove these 2 lines if JSON is disabled.
PR: 289419
Fixes: ddc678c6a7 (Update 7.9 => 8.0)
This commit is contained in:
committed by
Vladimir Druzenko
parent
191cc66025
commit
078aabb81e
@@ -71,7 +71,7 @@ post-patch:
|
||||
-e 's|AWSTATS_PATH/wwwroot|AWSTATS_PATH|' \
|
||||
${WRKSRC}/tools/awstats_configure.pl
|
||||
|
||||
post-patch-JSON-on:
|
||||
post-patch-JSON-off:
|
||||
${REINPLACE_CMD} -e '/^use JSON::XS;$$/d' -e '/^use Try::Tiny;$$/d' \
|
||||
${WRKSRC}/wwwroot/cgi-bin/awstats.pl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user