summaryrefslogtreecommitdiff
path: root/lang/qt5-qml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt5-qml/Makefile')
-rw-r--r--lang/qt5-qml/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/qt5-qml/Makefile b/lang/qt5-qml/Makefile
index 1a991d34b770..93fef9eb3199 100644
--- a/lang/qt5-qml/Makefile
+++ b/lang/qt5-qml/Makefile
@@ -25,5 +25,8 @@ post-patch:
${REINPLACE_CMD} 's,python,${PYTHON_CMD},g' \
${WRKSRC}/src/3rdparty/masm/masm.pri
+# qtdeclarative.pro wants to run python, replace that with PYTHON_CMD
+ ${REINPLACE_CMD} '/py_out/s#python#${PYTHON_CMD}#g' \
+ ${WRKSRC}/qtdeclarative.pro
.include <bsd.port.mk>