git: 82609af6956c - main - graphics/py-python-poppler-qt5: cleanup of build targets

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 08:13:32 UTC
The branch main has been updated by tcberner:

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

commit 82609af6956cbacf19c5e76cd0fd9e55312aca64
Author:     Martin Neubauer <m.ne@gmx.net>
AuthorDate: 2024-01-05 06:44:44 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2024-01-05 08:12:30 +0000

    graphics/py-python-poppler-qt5: cleanup of build targets
    
    PR:             275667
---
 graphics/py-python-poppler-qt5/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/graphics/py-python-poppler-qt5/Makefile b/graphics/py-python-poppler-qt5/Makefile
index 4a4a61268c4a..5b6928418adb 100644
--- a/graphics/py-python-poppler-qt5/Makefile
+++ b/graphics/py-python-poppler-qt5/Makefile
@@ -27,11 +27,13 @@ PLIST_SUB=	_PY_SONAME=${_PY_SONAME}
 
 _PY_SONAME=	${PYTHON_EXT_SUFFIX}
 
+BINARY_ALIAS=	qmake=${QMAKE}
+
 do-build:
-	(cd ${WRKSRC} ; sip-build-${PYTHON_VER} --qmake ${QMAKE} --verbose --no-make --build-dir build ; ${MAKE} -C ./build )
+	(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${SIP} ${SIP_ARGS} ; ${SETENV} ${MAKE_ENV} ${MAKE} -C ./build )
 
 do-install:
-	(cd ${WRKSRC} ; ${MAKE} -C ./build install INSTALL_ROOT=${STAGEDIR} )
+	(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} -C ./build install INSTALL_ROOT=${STAGEDIR} )
 
 post-install:
 	${RLN} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5.so