From 35f270b060c803dfb6d314d4105e27e69211b9b5 Mon Sep 17 00:00:00 2001 From: "Tomas Chvatal (scarabeus)" Date: Sat, 11 Oct 2008 11:59:24 +0200 Subject: Fixup all misc packages to use KDEDIR based on kdeprefix and sync eclass with the tree one a litte bit. --- eclass/kde4-base.eclass | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'eclass/kde4-base.eclass') diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index c41e6ef4cb2..c6a997015f2 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -423,13 +423,9 @@ kde4-base_pkg_setup() { ;; esac fi - - if [[ -n ${KDEBASE} ]]; then - PREFIX=${KDEDIR} - else - # if PREFIX is not defined we set it to the default value of /usr - PREFIX="${PREFIX:-/usr}" - fi + # Set the prefix based on KDEDIR + # Make it a consequence of kdeprefix + PREFIX=${KDEDIR} unset _kdedir -- cgit v1.2.3