git: 522670310d10 - main - devel/poetry: Fix build - it was not installing some files due to git being present

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 29 Jan 2023 21:12:49 UTC
The branch main has been updated by yuri:

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

commit 522670310d10096c4ebc284b55f30b4ce0f1aa09
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-29 21:11:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-29 21:12:45 +0000

    devel/poetry: Fix build - it was not installing some files due to git being present
---
 devel/poetry/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devel/poetry/Makefile b/devel/poetry/Makefile
index 35c826d4a90e..0ebd15085d2e 100644
--- a/devel/poetry/Makefile
+++ b/devel/poetry/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	poetry
 DISTVERSION=	1.3.2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMESUFFIX=	-python-tool
@@ -43,4 +44,6 @@ USE_PYTHON=	pep517 noflavors autoplist
 
 NO_ARCH=	yes
 
+BINARY_ALIAS=	git=false # when git is present it picks .gitignore for somne reason and fails to create a proper wheel because 'work' is in .gitignore
+
 .include <bsd.port.mk>