summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-03-20 02:00:25 +1100
committerMichael Palimaka <kensington@gentoo.org>2014-03-20 02:00:25 +1100
commite984e7ccddfdcc5334eca3938b5e6fdf16090982 (patch)
treee8be04cf6f864a651ac513993380d03058760445
parent2adb59b44153058d689e69d3872fb7de0ed198d3 (diff)
downloadkde-e984e7ccddfdcc5334eca3938b5e6fdf16090982.tar.gz
kde-e984e7ccddfdcc5334eca3938b5e6fdf16090982.tar.bz2
kde-e984e7ccddfdcc5334eca3938b5e6fdf16090982.zip
[eclass] Remove environment cleanup stuff for testing.
-rw-r--r--eclass/kde-frameworks.eclass12
1 files changed, 0 insertions, 12 deletions
diff --git a/eclass/kde-frameworks.eclass b/eclass/kde-frameworks.eclass
index 1053c9899e9..00a83d8458c 100644
--- a/eclass/kde-frameworks.eclass
+++ b/eclass/kde-frameworks.eclass
@@ -177,9 +177,6 @@ debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: SRC_URI is ${SRC_URI}"
kde-frameworks_pkg_setup() {
debug-print-function ${FUNCNAME} "$@"
- # Don't set KDEHOME during compilation, it will cause access violations
- unset KDEHOME
-
# Check if gcc compiler is fresh enough.
# In theory should be in pkg_pretend but we check it only for kdelibs there
# and for others we do just quick scan in pkg_setup because pkg_pretend
@@ -189,12 +186,6 @@ kde-frameworks_pkg_setup() {
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 5 ]] ) \
&& die "Sorry, but gcc-4.5 or later is required for KDE frameworks."
fi
-
- # Point to correct QT plugins path
- QT_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/kde4/plugins/"
-
- # Fix XDG collision with sandbox
- export XDG_CONFIG_HOME="${T}"
}
# @FUNCTION: kde-frameworks_src_unpack
@@ -246,9 +237,6 @@ kde-frameworks_src_configure() {
# Here we set the install prefix
tc-is-cross-compiler || cmakeargs+=(-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}")
- # Shadow existing installations
- unset KDEDIRS
-
#qmake -query QT_INSTALL_LIBS unavailable when cross-compiling
# todo: is this still relevant?
tc-is-cross-compiler && cmakeargs+=(-DQT_LIBRARY_DIR=${ROOT}/usr/$(get_libdir)/qt4)