summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild')
-rw-r--r--dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild b/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild
index 3c84c97f..ee343ed4 100644
--- a/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild
+++ b/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild,v 1.6 2009/01/17 16:39:16 nixnut Exp $
@@ -13,8 +13,10 @@ LICENSE="|| ( QPL-1.0 GPL-2 GPL-3 )"
SLOT="3"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-DEPEND="~x11-libs/qt-${PV}
+RDEPEND="~x11-libs/qt-${PV}
dev-db/unixODBC"
+DEPEND="${RDEPEND}
+ <dev-db/unixODBC-2.2.14"
S="${WORKDIR}/qt-x11-${SRCTYPE}-${PV}"
@@ -32,8 +34,8 @@ src_unpack() {
sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
- -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
- -e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
+ -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
+ -e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
-e "s:\<QMAKE_CC\>.*=.*:QMAKE_CC=$(tc-getCC):" \
-e "s:\<QMAKE_CXX\>.*=.*:QMAKE_CXX=$(tc-getCXX):" \
-e "s:\<QMAKE_LINK\>.*=.*:QMAKE_LINK=$(tc-getCXX):" \