summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/kbear/kbear-1.2.1-r1.ebuild')
-rw-r--r--net-ftp/kbear/kbear-1.2.1-r1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-ftp/kbear/kbear-1.2.1-r1.ebuild b/net-ftp/kbear/kbear-1.2.1-r1.ebuild
index ccfc8b1f7a27..1f0e04647341 100644
--- a/net-ftp/kbear/kbear-1.2.1-r1.ebuild
+++ b/net-ftp/kbear/kbear-1.2.1-r1.ebuild
@@ -14,8 +14,16 @@ DEPEND="kde-base/kde-env
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
}