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

Collapse All | Expand All

(-)/usr/portage/eclass/qt4-build.eclass (-4 / +10 lines)
Lines 309-319 Link Here
309
# @DESCRIPTION:
309
# @DESCRIPTION:
310
# Compiles the code in $QT4_TARGET_DIRECTORIES
310
# Compiles the code in $QT4_TARGET_DIRECTORIES
311
build_directories() {
311
build_directories() {
312
	local dirs="$@"
312
	sed -i -e "s:\$\$\[QT_INSTALL_LIBS\]:/usr/$(get_libdir)/qt4:g" \
313
	for x in ${dirs}; do
313
		$(find "${S}" -name '*.pr[io]') "${S}"/mkspecs/common/linux.conf || die
314
315
	for x in "$@"; do
314
		cd "${S}"/${x}
316
		cd "${S}"/${x}
315
		sed -i -e "s:\$\$\[QT_INSTALL_LIBS\]:/usr/$(get_libdir)/qt4:g" $(find "${S}" -name '*.pr[io]') "${S}"/mkspecs/common/linux.conf || die
317
		"${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" \
316
		"${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die "qmake failed"
318
			QMAKE_CC=$(tc-getCC) \
319
			QMAKE_CXX=$(tc-getCXX) \
320
			QMAKE_LINK=$(tc-getCXX) \
321
			QMAKE_STRIP= \
322
			|| die "qmake failed"
317
		emake || die "emake failed"
323
		emake || die "emake failed"
318
	done
324
	done
319
}
325
}

Return to bug 275710