summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kcpuload/kcpuload-1.90-r1.ebuild')
-rw-r--r--kde-apps/kcpuload/kcpuload-1.90-r1.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/kde-apps/kcpuload/kcpuload-1.90-r1.ebuild b/kde-apps/kcpuload/kcpuload-1.90-r1.ebuild
index a14e47658024..554a75360ec9 100644
--- a/kde-apps/kcpuload/kcpuload-1.90-r1.ebuild
+++ b/kde-apps/kcpuload/kcpuload-1.90-r1.ebuild
@@ -13,15 +13,22 @@ DEPEND=">=kde-base/kdelibs-2.1.1"
RDEPEND=$DEPEND
src_compile() {
-
- try ./configure --prefix=${KDEDIR} --host=${CHOST}
+ local myconf
+ if [ "`use qtmt`" ]
+ then
+ myconf="--enable-mt"
+ fi
+ if [ "`use mitshm`" ]
+ then
+ myconf="$myconf --enable-mitshm"
+ fi
+ try ./configure --prefix=${KDEDIR} --host=${CHOST} $myconf
try make
}
src_install () {
- cd ${S}
try make DESTDIR=${D} install
dodoc AUTHORS COPYING ChangeLog NEWS README TODO
}