summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-02-02 19:04:21 +0100
committerDavide Pesavento <pesa@gentoo.org>2016-02-02 19:34:57 +0100
commit2098e9c2ea0756766cb1b4769c73592100655c62 (patch)
treea899da3168c525165ca81e7ca9927a4ca986fbf0 /eclass
parentqt5-build.eclass: respect nonfatal in qt5_foreach_target_subdir() (diff)
downloadgentoo-2098e9c2ea0756766cb1b4769c73592100655c62.tar.gz
gentoo-2098e9c2ea0756766cb1b4769c73592100655c62.tar.bz2
gentoo-2098e9c2ea0756766cb1b4769c73592100655c62.zip
qt5-build.eclass: declare some variables readonly
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt5-build.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 8665f3bfe30c..5315f6b01f3e 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -31,6 +31,7 @@ HOMEPAGE="https://www.qt.io/"
LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"
QT5_MINOR_VERSION=$(get_version_component_range 2)
+readonly QT5_MINOR_VERSION
SLOT="5"
@@ -66,6 +67,7 @@ case ${PV} in
S=${WORKDIR}/${MY_P}
;;
esac
+readonly QT5_BUILD_TYPE
EGIT_REPO_URI=(
"git://code.qt.io/qt/${QT5_MODULE}.git"
@@ -405,6 +407,10 @@ qt5_prepare_env() {
QT5_EXAMPLESDIR=${QT5_DATADIR}/examples
QT5_TESTSDIR=${QT5_DATADIR}/tests
QT5_SYSCONFDIR=${EPREFIX}/etc/xdg
+ readonly QT5_PREFIX QT5_HEADERDIR QT5_LIBDIR QT5_ARCHDATADIR \
+ QT5_BINDIR QT5_PLUGINDIR QT5_LIBEXECDIR QT5_IMPORTDIR \
+ QT5_QMLDIR QT5_DATADIR QT5_DOCDIR QT5_TRANSLATIONDIR \
+ QT5_EXAMPLESDIR QT5_TESTSDIR QT5_SYSCONFDIR
if [[ ${QT5_MODULE} == qtbase ]]; then
# see mkspecs/features/qt_config.prf