mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-editors/qhexedit2: backport fix 952787
Bug: https://bugs.gentoo.org/952787 Closes: https://github.com/gentoo/gentoo/pull/41336 Signed-off-by: Huang Rui <vowstar@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit python-r1 qmake-utils
|
||||
|
||||
EGIT_COMMIT="541139125be034b90b6811a84faa1413e357fd94"
|
||||
@@ -69,7 +69,13 @@ src_compile() {
|
||||
export PATH="$(qt5_get_bindir):${PATH}"
|
||||
python_build() {
|
||||
pushd "${S}" || die
|
||||
sip-build || die
|
||||
# sip-build is not able to handle CFLAGS and CXXFLAGS
|
||||
# so we need to pass them as QMAKE_CFLAGS and QMAKE_CXXFLAGS
|
||||
# https://bugs.gentoo.org/952787
|
||||
sip-build \
|
||||
--qmake-setting "QMAKE_CFLAGS += ${CFLAGS}" \
|
||||
--qmake-setting "QMAKE_CXXFLAGS += ${CXXFLAGS}" \
|
||||
|| die
|
||||
popd || die
|
||||
}
|
||||
python_foreach_impl run_in_build_dir python_build
|
||||
Reference in New Issue
Block a user