diff options
author | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-12-10 16:13:59 +0000 |
---|---|---|
committer | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-12-10 16:13:59 +0000 |
commit | 3e29b045e9a547c206cc802f3d032737cfdcce8c (patch) | |
tree | b561044b1b9e2e1e3210d54a58bc2fa3c69ee234 /Mk | |
parent | 4e35fe8a3291f35d4ceb11848161c00dfa4a776c (diff) | |
download | freebsd-ports-3e29b045e9a547c206cc802f3d032737cfdcce8c.zip |
PyQt: fix flavors
py-qt modules require sip-module to build, unfortunately, it is hardcoded and links to the default python version.
There is no option to pass it in like sip binary, so we need to patch configure.py file.
Reported by: fluffy
Approved by: fluffy
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/pyqt.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/Uses/pyqt.mk b/Mk/Uses/pyqt.mk index ae6a83c35599..6eb9a7d1effe 100644 --- a/Mk/Uses/pyqt.mk +++ b/Mk/Uses/pyqt.mk @@ -250,6 +250,7 @@ EXTRACT_AFTER_ARGS+= --exclude "${DISTNAME}/dbus" . if !target(do-configure) do-configure: + ${REINPLACE_CMD} -e "s/sip-module/sip-module-${PYTHON_VER}/" ${WRKSRC}/configure.py cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} . endif # !target(do-configure) |