git: bdb88e167beb - main - devel/py-archspec: Unbreak by working around the Poetry bug

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 17:39:46 UTC
The branch main has been updated by yuri:

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

commit bdb88e167bebd7a2fc883f796006a36cde4ce829
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-26 17:39:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-26 17:39:44 +0000

    devel/py-archspec: Unbreak by working around the Poetry bug
---
 devel/py-archspec/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/py-archspec/Makefile b/devel/py-archspec/Makefile
index a869c3e2d77d..09ddb583023b 100644
--- a/devel/py-archspec/Makefile
+++ b/devel/py-archspec/Makefile
@@ -13,8 +13,6 @@ LICENSE_COMB=	dual
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
 LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
 
-BROKEN=		build fails to build it, see https://github.com/pypa/build/issues/628
-
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry>0:devel/py-poetry@${PY_FLAVOR}
 
 USES=		python:3.7+
@@ -22,4 +20,6 @@ USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
+MAKE_ENV=	GIT_DIR=${WRKDIR} # workaround for https://github.com/python-poetry/poetry/issues/5547
+
 .include <bsd.port.mk>