git: 07bf80320fa3 - main - textproc/py-rich: fix build in presence of git

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 21:17:12 UTC
The branch main has been updated by matthew:

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

commit 07bf80320fa30852bc43407335e959b950661e44
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-03-27 21:15:18 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-03-27 21:17:10 +0000

    textproc/py-rich: fix build in presence of git
    
    If git is installed, it seems .gitignore will somehow prevent a wheel
    being created.
---
 textproc/py-rich/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/textproc/py-rich/Makefile b/textproc/py-rich/Makefile
index c84e2335e857..ec2ef36111ea 100644
--- a/textproc/py-rich/Makefile
+++ b/textproc/py-rich/Makefile
@@ -20,6 +20,8 @@ NO_ARCH=	yes
 USES=		python:3.7+
 USE_PYTHON=	autoplist pep517 pytest
 
+BINARY_ALIAS=	git=false
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 30900