summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/cervisia/cervisia-1.3.ebuild')
-rw-r--r--kde-apps/cervisia/cervisia-1.3.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/kde-apps/cervisia/cervisia-1.3.ebuild b/kde-apps/cervisia/cervisia-1.3.ebuild
index 39f65722e018..7c033eea81a0 100644
--- a/kde-apps/cervisia/cervisia-1.3.ebuild
+++ b/kde-apps/cervisia/cervisia-1.3.ebuild
@@ -12,10 +12,17 @@ DEPEND=">=kde-base/kdelibs-2.0"
RDEPEND=$DEPEND
src_compile() {
-
- cd ${S}
+ 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-kde-version=2
+ --with-kde-version=2 $myconf
try make
}