mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
sci-libs/jkqtplotter: avoid Qt5 building
Qt checking prevents the correct use of QT_VERSION_MAJOR however defined. If installed, jkqtplotter compiles with the unwanted Qt5. Closes: https://bugs.gentoo.org/966047 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44619 Closes: https://github.com/gentoo/gentoo/pull/44619 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
740a65bdfa
commit
76e12e0335
@ -39,6 +39,14 @@ BDEPEND="
|
|||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# avoid Qt5 automagic, https://bugs.gentoo.org/966047
|
||||||
|
sed -e "/^ *find_package.*QT NAMES/s/Qt5 //" \
|
||||||
|
-i cmake/jkqtplotter_common_qtsettings.cmake || die
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DCMAKE_SKIP_RPATH=ON
|
-DCMAKE_SKIP_RPATH=ON
|
||||||
Loading…
x
Reference in New Issue
Block a user