summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/knetload/knetload-1.91-r1.ebuild')
-rw-r--r--net-misc/knetload/knetload-1.91-r1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-misc/knetload/knetload-1.91-r1.ebuild b/net-misc/knetload/knetload-1.91-r1.ebuild
index 44449a449f14..0d4702354237 100644
--- a/net-misc/knetload/knetload-1.91-r1.ebuild
+++ b/net-misc/knetload/knetload-1.91-r1.ebuild
@@ -13,8 +13,16 @@ 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
}