summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Chatzaras <chris@cretaforce.gr>2025-09-15 17:17:35 +0300
committerVladimir Druzenko <vvd@FreeBSD.org>2025-09-15 17:17:35 +0300
commit078aabb81e9062bc9c70995fe3ff7f42cfd2b7a1 (patch)
treefaa85bc2227ada1316a2135e8163e07fe48ecdf1
parentdevel/openocd-devel: Update g20250708 => g20250901 (diff)
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: ddc678c6a7e2 (Update 7.9 => 8.0)
-rw-r--r--www/awstats/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
index 043ee739ba94..e3d7f81a0ef4 100644
--- a/www/awstats/Makefile
+++ b/www/awstats/Makefile
@@ -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