summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-12-20 16:05:52 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-12-20 16:05:52 +0000
commit5789b1bccdfaefd48a20211c7571e48c4df2ef39 (patch)
treeb004bef6eb80f1b17d809f99f110d5a5de3e2d7e /x11-libs/qt-dbus
parentalpha/ia64 stable wrt security #202762 (diff)
downloadgentoo-2-5789b1bccdfaefd48a20211c7571e48c4df2ef39.tar.gz
gentoo-2-5789b1bccdfaefd48a20211c7571e48c4df2ef39.tar.bz2
gentoo-2-5789b1bccdfaefd48a20211c7571e48c4df2ef39.zip
Be sure to add qdbus to qconfig.pri
(Portage version: 2.1.3.16)
Diffstat (limited to 'x11-libs/qt-dbus')
-rw-r--r--x11-libs/qt-dbus/qt-dbus-4.4.0_rc1.ebuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/x11-libs/qt-dbus/qt-dbus-4.4.0_rc1.ebuild b/x11-libs/qt-dbus/qt-dbus-4.4.0_rc1.ebuild
index 2edecf2bf6fa..cc4f7f66b3df 100644
--- a/x11-libs/qt-dbus/qt-dbus-4.4.0_rc1.ebuild
+++ b/x11-libs/qt-dbus/qt-dbus-4.4.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-dbus/qt-dbus-4.4.0_rc1.ebuild,v 1.2 2007/12/20 13:32:00 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-dbus/qt-dbus-4.4.0_rc1.ebuild,v 1.3 2007/12/20 16:05:52 caleb Exp $
inherit eutils flag-o-matic toolchain-funcs multilib
@@ -121,3 +121,16 @@ src_install() {
dodir ${QTPCDIR}
mv "${D}"/${QTLIBDIR}/pkgconfig/*.pc "${D}"/${QTPCDIR}
}
+
+pkg_postinst()
+{
+ # Need to add qdbus to QT_CONFIG line
+ sed -i -e "s:qdbus ::g" ${QTDATADIR}/mkspecs/qconfig.pri
+ sed -i -e "s:QT_CONFIG += :QT_CONFIG += qdbus :g" ${QTDATADIR}/mkspecs/qconfig.pri
+}
+
+pkg_postrm()
+{
+ # Need to add qdbus to QT_CONFIG line
+ sed -i -e "s:qdbus::g" ${QTDATADIR}/mkspecs/qconfig.pri
+}