summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/ekiga/ekiga-3.2.5-r2.ebuild')
-rw-r--r--net-voip/ekiga/ekiga-3.2.5-r2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-voip/ekiga/ekiga-3.2.5-r2.ebuild b/net-voip/ekiga/ekiga-3.2.5-r2.ebuild
index 5a74cbb9f0d1..7975f138882f 100644
--- a/net-voip/ekiga/ekiga-3.2.5-r2.ebuild
+++ b/net-voip/ekiga/ekiga-3.2.5-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/ekiga/ekiga-3.2.5-r2.ebuild,v 1.1 2009/08/31 17:36:14 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-voip/ekiga/ekiga-3.2.5-r2.ebuild,v 1.2 2009/09/10 17:00:34 volkmar Exp $
EAPI="2"
@@ -137,6 +137,14 @@ src_prepare() {
sed -i -e "s/V4L=\"enabled\"/V4L=\"disabled\"/" configure \
|| die "sed failed"
fi
+
+ # compatibility with kdeprefix, fix bug 283033
+ if use kde; then
+ sed -i -e "s:\tKDE_CFLAGS=\(.*\):\tKDE_CFLAGS=\"\1 -I${KDEDIR}/include\":" \
+ configure || die "sed failed"
+ sed -i -e "s:\(KDE_LIBS=.*\)\(-lkdeui\):\1-L${KDEDIR}/$(get_libdir) \2:" \
+ configure || die "sed failed"
+ fi
}
src_test() {