git: 38449b84d746 - main - sysutils/debootstrap: Fix when setting up Debian bookworm.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 18 Feb 2024 16:03:49 UTC
The branch main has been updated by arrowd:

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

commit 38449b84d74605ce2bedfa7b1e6e88d08d7116c4
Author:     Dancho Penev <dpslavov@hotmail.com>
AuthorDate: 2024-02-18 15:28:38 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-02-18 16:03:00 +0000

    sysutils/debootstrap: Fix when setting up Debian bookworm.
    
    PR:             274298
    Approved by:    nc (maintainer timeout)
---
 sysutils/debootstrap/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sysutils/debootstrap/Makefile b/sysutils/debootstrap/Makefile
index 774dc3fd51fd..75b4fd2cd320 100644
--- a/sysutils/debootstrap/Makefile
+++ b/sysutils/debootstrap/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	debootstrap
 PORTVERSION=	${DEB_VERSION}n${DEB_NMU}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	DEBIAN
 DISTNAME=	${PORTNAME}_${DEB_VERSION}+nmu${DEB_NMU}
@@ -16,6 +16,7 @@ RUN_DEPENDS=	wget:ftp/wget \
 		bash:shells/bash \
 		${LOCALBASE}/bin/grep:textproc/gnugrep \
 		gpgv2:security/gnupg \
+		gtar:archivers/gtar \
 		${LOCALBASE}/share/keyrings/ubuntu-archive-keyring.gpg:security/ubuntu-keyring
 
 USES=		gmake perl5
@@ -43,6 +44,10 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,grep,${LOCALBASE}/bin/grep,g' \
 		${WRKSRC}/functions
 
+	# ports/274298
+	@${REINPLACE_CMD} -e 's, tar , ${LOCALBASE}/bin/gtar ,g' \
+		${WRKSRC}/functions
+
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/debootstrap.8 \
 		${STAGEDIR}${PREFIX}/share/man/man8/debootstrap.8