git: 52edcbe5ac69 - main - filesystems/davfs2: allow to build with any 3.x version of `www/neon'

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 10 Apr 2025 05:14:06 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=52edcbe5ac699164412357f47a2f29127e6dd8b0

commit 52edcbe5ac699164412357f47a2f29127e6dd8b0
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-04-10 05:11:08 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-04-10 05:11:08 +0000

    filesystems/davfs2: allow to build with any 3.x version of `www/neon'
    
    Assume that any more or less recent version would work, at least within
    the current major series.  Upstream plans to get rid of this heuristics
    altogether in the next release so this band-aid should suffice for now.
    
    PR:     285860
---
 filesystems/davfs2/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/filesystems/davfs2/Makefile b/filesystems/davfs2/Makefile
index 5173d824a21d..69a06c47c450 100644
--- a/filesystems/davfs2/Makefile
+++ b/filesystems/davfs2/Makefile
@@ -28,6 +28,9 @@ OPTIONS_SUB=	yes
 NLS_USES=	gettext-runtime
 NLS_CONFIGURE_OFF=	--disable-nls
 
+post-patch:
+	@${REINPLACE_CMD} -e 's, 33, ${:!seq 33 39!},' ${WRKSRC}/configure
+
 post-stage:
 	${CHMOD} -s ${STAGEDIR}${PREFIX}/sbin/mount.davfs
 	cd ${STAGEDIR}${DOCSDIR} && ${RM} AUTHORS COPYING INSTALL