If git(1) was found on the system, the port would attempt to download
OpenGL headers for a meson subproject from [1], which seems to only be
necessary/intended for Windows. Add '--wrap-mode=nodownload' to
MESON_ARGS to prevent this behavior. This only affects builds on live
systems.
While here: Remove unused glu dep from USE_GL and add jpeg dep as this
will link to libjpeg if found on the system. Tiny Makefile order fix.
[1] https://gitlab.freedesktop.org/gstreamer/meson-ports/gl-headers
PR: 270184
Reported by: amdmi3
Reasons:
* Port build shouldn't use cross-compilation mode
because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
in the cross-compilation mode.
Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.
Immadiate benefits:
* Unbreak build on architectures like i386 that sometimes require
special RUSTFLAGS that were not effective in the cross-compilation
mode.
Ports that really need cross-compilation for some reason should
enable it on case-by-case basis. Example: net-p2p/cncli
(Not sure why does net-p2p/cncli actually need it, but it only
builds with these options.)
PR: 280305
Approved by: rust@FreeBSD.org (maintainer's timeout; 98 days)
devel/py-qtbuilder and devel/py-sip should only be used as a
BUILD_DEPENDS. (e.g. USE_PYQT=qtbuilder:build sip:build)
Usually, these are only used to build the PyQt framework, but a few
other ports need them to build. Ports that have them as a BUILD_DEPENDS
unnecessarily haven't been audited yet.
Sip used to be needed for run, but this hasn't been the case for quite
some time. Runtime is provided by the devel/py-qt[56]-sip ports.
(USE_PYQT=pysip). The main PyQt ports provide this automatically, so
it isn't necessary to add it to individual consumers.
While here:
www/onionshare: Remove PyQt stuff completely. It uses PySide.
With hat: kde@
PyQt5:
- devel/py-qt5-pyqt: Update to 5.15.11
- graphics/py-qt5-3d: Add port
- net/py-qt5-networkauth: Update to 5.15.6
- www/py-qt5-webengine: Update to 5.15.7
- x11-toolkits/py-qt5-chart: Update to 5.15.7
- x11-toolkits/py-qt5-datavis3d: Add port
PyQt6:
- devel/py-qt6-pyqt: Update to 6.7.1
Build tools:
- devel/sip: Update to 6.8.6
- devel/py-qt5-sip: Update to 12.15.0
- devel/py-qt6-sip: Update to 13.8.0
- devel/py-qtbuilder: Update to 1.16.4
The build tools are now all licensed BSD2CLAUSE and have been converted
to PEP517.
- Distfile had been rerolled upstream to remove experimental tweak
that accidentally snuck its way in (diff-verified)
- Do not force linking against `science/libaec' which is not used
directly and could only be pulled via optional `science/hdf5',
where it is also subject to SZIP option
Reported by: vvd, pkg-fallout, Mamoru Iwaki
PR: 282157, 281999 (first take)