git: 078aabb81e90 - main - www/awstats: Replace post-patch-JSON-on with post-patch-JSON-off
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Sep 2025 14:22:04 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=078aabb81e9062bc9c70995fe3ff7f42cfd2b7a1
commit 078aabb81e9062bc9c70995fe3ff7f42cfd2b7a1
Author: Christos Chatzaras <chris@cretaforce.gr>
AuthorDate: 2025-09-15 14:17:35 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-15 14:17:35 +0000
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)
---
www/awstats/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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