Lines 717-734
Link Here
|
717 |
if [[ -n "$KDEPREFIX" ]]; then |
717 |
if [[ -n "$KDEPREFIX" ]]; then |
718 |
export PREFIX="$KDEPREFIX" |
718 |
export PREFIX="$KDEPREFIX" |
719 |
else |
719 |
else |
720 |
if [[ -z "$KDEBASE" ]]; then |
720 |
case $KDEMAJORVER.$KDEMINORVER in |
721 |
case $PN in |
721 |
3*) export PREFIX="/usr/kde/3.5";; |
722 |
libkipi|libkdcraw|libkexiv2) export PREFIX="/usr/kde/3.5";; |
722 |
5.0) export PREFIX="/usr/kde/svn";; |
723 |
*) export PREFIX="/usr";; |
723 |
*) die "failed to set PREFIX";; |
724 |
esac |
724 |
esac |
725 |
else |
|
|
726 |
case $KDEMAJORVER.$KDEMINORVER in |
727 |
3.5) export PREFIX="/usr/kde/3.5";; |
728 |
5.0) export PREFIX="/usr/kde/svn";; |
729 |
*) die "failed to set PREFIX";; |
730 |
esac |
731 |
fi |
732 |
fi |
725 |
fi |
733 |
|
726 |
|
734 |
# kdelibs location |
727 |
# kdelibs location |
Lines 748-754
Link Here
|
748 |
else |
741 |
else |
749 |
# kde-base ebuilds must always use the exact version of kdelibs they came with |
742 |
# kde-base ebuilds must always use the exact version of kdelibs they came with |
750 |
case $KDEMAJORVER.$KDEMINORVER in |
743 |
case $KDEMAJORVER.$KDEMINORVER in |
751 |
3.5) export KDEDIR="/usr/kde/3.5";; |
744 |
3*) export KDEDIR="/usr/kde/3.5";; |
752 |
5.0) export KDEDIR="/usr/kde/svn";; |
745 |
5.0) export KDEDIR="/usr/kde/svn";; |
753 |
*) die "failed to set KDEDIR";; |
746 |
*) die "failed to set KDEDIR";; |
754 |
esac |
747 |
esac |