git: 853d0bf6fbe1 - main - python.mk: add etc/ to PEP-517 autoplist

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Sun, 26 Feb 2023 18:49:44 UTC
The branch main has been updated by vishwin:

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

commit 853d0bf6fbe171196452fd981fd7444339bc8dc0
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-02-26 18:48:04 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-02-26 18:48:04 +0000

    python.mk: add etc/ to PEP-517 autoplist
    
    This was mistakenly missed in 18982c467f6ce3109f1e71198274eeac45f35297.
    
    Requested by: yasu
---
 Mk/Uses/python.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index 4e264234772e..2da705f42be1 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -871,6 +871,7 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 	@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD}
 	@${SED} -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \
+		-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \
 		-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../bin/|bin/|' \
 		-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../include/|include/|' \
 		-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../lib/|lib/|' \