summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kdepim/kdepim-2.1.1.ebuild')
-rw-r--r--kde-apps/kdepim/kdepim-2.1.1.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/kde-apps/kdepim/kdepim-2.1.1.ebuild b/kde-apps/kdepim/kdepim-2.1.1.ebuild
index 11cc553b5300..b39bc1744172 100644
--- a/kde-apps/kdepim/kdepim-2.1.1.ebuild
+++ b/kde-apps/kdepim/kdepim-2.1.1.ebuild
@@ -16,8 +16,17 @@ RDEPEND=$DEPEND
src_compile() {
QTBASE=/usr/X11R6/lib/qt
+ local myconf
+ if [ "`use qtmt`" ]
+ then
+ myconf="--enable-mt"
+ fi
+ if [ "`use mitshm`" ]
+ then
+ myconf="$myconf --enable-mitshm"
+ fi
try ./configure --prefix=/opt/kde2.1 --host=${CHOST} \
- --with-qt-dir=$QTBASE
+ --with-qt-dir=$QTBASE $myconf
try make
}