git: fac83033ab02 - 2022Q2 - devel/subversion: Fix build with SVNSERVE_WRAPPER=on

From: Lev A. Serebryakov <lev_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 09:46:13 UTC
The branch 2022Q2 has been updated by lev:

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

commit fac83033ab02c251f5dd8ad6273fb090e2a1f6c4
Author:     Lev A. Serebryakov <lev@FreeBSD.org>
AuthorDate: 2022-04-14 09:37:52 +0000
Commit:     Lev A. Serebryakov <lev@FreeBSD.org>
CommitDate: 2022-04-22 09:46:05 +0000

    devel/subversion: Fix build with SVNSERVE_WRAPPER=on
    
    PR:     263274
    (cherry picked from commit 32d20960fffb61219dd79dda52b2baee18d9e004)
---
 devel/subversion/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile
index 5af347c3cf2e..a03fcda75d75 100644
--- a/devel/subversion/Makefile
+++ b/devel/subversion/Makefile
@@ -56,9 +56,11 @@ CONFIGURE_ARGS+=	--without-gnome-keyring \
 .if ${PORT_OPTIONS:MSVNSERVE_WRAPPER}
 SUB_LIST+=	SVNSERVE_BIN_EXT=".bin"
 PLIST_SUB+=	NO_SVNSERVE_WRAPPER="@comment "
+SVNSERVE_EXT=	.bin
 .else
 SUB_LIST+=	SVNSERVE_BIN_EXT=""
 PLIST_SUB+=	NO_SVNSERVE_WRAPPER=""
+SVNSERVE_EXT=
 .endif
 
 .if ${PORT_OPTIONS:MTEST}
@@ -87,7 +89,7 @@ MKREPOS_TARGET=	_mkrepos
 
 
 BINS_TO_STRIP= svn svnadmin svnbench svndumpfilter svnfsfs svnlook svnmucc \
-		svnrdump svnserve svnsync svnversion
+		svnrdump svnserve${SVNSERVE_EXT} svnsync svnversion
 
 TOOLS_TO_STRIP=	fsfs-access-map svn-mergeinfo-normalizer \
 		 svn-populate-node-origins-index svnauthz \