summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-06-07 01:45:52 +0000
committerAchim Gottinger <achim@gentoo.org>2001-06-07 01:45:52 +0000
commita99b3ddc12ce8ec39d5f19ee6877c147c297032d (patch)
tree754264b8c63f23589611fc96306acbdfd06f7518 /kde-base/kdesdk
parentFixed missing digest. (diff)
downloadgentoo-2-a99b3ddc12ce8ec39d5f19ee6877c147c297032d.tar.gz
gentoo-2-a99b3ddc12ce8ec39d5f19ee6877c147c297032d.tar.bz2
gentoo-2-a99b3ddc12ce8ec39d5f19ee6877c147c297032d.zip
*** empty log message ***
Diffstat (limited to 'kde-base/kdesdk')
-rw-r--r--kde-base/kdesdk/kdesdk-2.1.1.ebuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/kde-base/kdesdk/kdesdk-2.1.1.ebuild b/kde-base/kdesdk/kdesdk-2.1.1.ebuild
index 178dd129bd47..e92e77b10a20 100644
--- a/kde-base/kdesdk/kdesdk-2.1.1.ebuild
+++ b/kde-base/kdesdk/kdesdk-2.1.1.ebuild
@@ -10,14 +10,23 @@ SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
HOMEPAGE="http://www.kde.org/"
-DEPEND=">=kde-base/kdelibs-${PV}"
+DEPEND=">=kde-base/kdelibs-${PV} <sys-libs/db-2"
RDEPEND=$DEPEND
src_compile() {
QTBASE=/usr/X11R6/lib/qt
- try CFLAGS=\"$CFLAGS -I/usr/include/db1\" ./configure --prefix=/opt/kde2.1 --host=${CHOST} \
- --with-qt-dir=$QTBASE --with-db-name=libdb.so.2
+ local myconf
+ if [ "`use qtmt`" ]
+ then
+ myconf="--enable-mt"
+ fi
+ if [ "`use mitshm`" ]
+ then
+ myconf="$myconf --enable-mitshm"
+ fi
+ try CFLAGS=\"$CFLAGS -I/usr/include/db1\" ./configure --prefix=$KDEDIR --host=${CHOST} \
+ --with-qt-dir=$QTBASE --with-db-name=libdb.so.2 $myconf
try make
}