Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 280127 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-office/qbankmanager/qbankmanager-0.9.52_beta.ebuild (-4 / +14 lines)
Lines 13-29 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
15
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16
IUSE="debug"
16
IUSE="debug qt3 qt4"
17
17
18
DEPEND=">=net-libs/aqbanking-3.7.2[qt3]
18
DEPEND="qt3? ( >=net-libs/aqbanking-3.7.2[qt3]
19
	=x11-libs/qt-3*"
19
              =x11-libs/qt-3* )
20
		qt4? ( >=net-libs/aqbanking-3.7.2[qt4]
21
            x11-libs/qt-core
22
            x11-libs/qt-qt3support
23
            x11-libs/qt-gui )"
20
RDEPEND="${DEPEND}"
24
RDEPEND="${DEPEND}"
21
S="${WORKDIR}/${P/_/}"
25
S="${WORKDIR}/${P/_/}"
22
MAKEOPTS="${MAKEOPTS} -j1"
26
MAKEOPTS="${MAKEOPTS} -j1"
23
27
24
src_configure() {
28
src_configure() {
25
	econf PATH="/usr/qt/3/bin:${PATH}" \
29
	if use qt4; then
30
		QT4_LIBS="$(pkg-config QtCore QtGui Qt3Support --libs)" 
31
		QT4_INC="$(pkg-config QtCore QtGui Qt3Support --cflags)"
32
	fi
33
34
	econf PATH="/usr/qt/3/bin:${PATH}" qt3_libs="${QT4_LIBS}" qt3_includes="${QT4_INC}" \
26
		`use_enable debug` || die
35
		`use_enable debug` || die
36
	use qt4 && make qt4-port
27
}
37
}
28
38
29
src_install() {
39
src_install() {

Return to bug 280127