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

Collapse All | Expand All

(-)hwoarang/development/gentoo-x86/eclass/qt4-build.eclass (-2 / +16 lines)
Lines 14-19 Link Here
14
inherit base eutils multilib toolchain-funcs flag-o-matic versionator
14
inherit base eutils multilib toolchain-funcs flag-o-matic versionator
15
15
16
IUSE="${IUSE} debug pch"
16
IUSE="${IUSE} debug pch"
17
18
# add 'exceptions' use flag, wrt bug 240185. This change must not
19
# affect 4.4.2 and 4.5.1 stable packages
20
[[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] && [[ ${PV} !=  "4.4.2" ]] && \
21
[[ ${PV} != "4.5.1" ]] && IUSE="${IUSE} exceptions"
22
17
RDEPEND="
23
RDEPEND="
18
	!<x11-libs/qt-assistant-${PV}
24
	!<x11-libs/qt-assistant-${PV}
19
	!>x11-libs/qt-assistant-${PV}-r9999
25
	!>x11-libs/qt-assistant-${PV}-r9999
Lines 286-298 standard_configure_options() { Link Here
286
		*) die "$(tc-arch) is unsupported by this eclass. Please file a bug." ;;
292
		*) die "$(tc-arch) is unsupported by this eclass. Please file a bug." ;;
287
	esac
293
	esac
288
294
295
	local exceptions=""
296
	if has exceptions "${IUSE}"; then
297
		if use exceptions; then
298
			exceptions="-exceptions"
299
		else
300
			exceptions="-no-exceptions"
301
		fi
302
	fi
303
289
	myconf="${myconf} -platform $(qt_mkspecs_dir) -stl -verbose -largefile -confirm-license -no-rpath
304
	myconf="${myconf} -platform $(qt_mkspecs_dir) -stl -verbose -largefile -confirm-license -no-rpath
290
		-prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR}
305
		-prefix ${QTPREFIXDIR} -bindir ${QTBINDIR} -libdir ${QTLIBDIR}
291
		-datadir ${QTDATADIR} -docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR}
306
		-datadir ${QTDATADIR} -docdir ${QTDOCDIR} -headerdir ${QTHEADERDIR}
292
		-plugindir ${QTPLUGINDIR} -sysconfdir ${QTSYSCONFDIR}
307
		-plugindir ${QTPLUGINDIR} -sysconfdir ${QTSYSCONFDIR}
293
		-translationdir ${QTTRANSDIR} -examplesdir ${QTEXAMPLESDIR}
308
		-translationdir ${QTTRANSDIR} -examplesdir ${QTEXAMPLESDIR}
294
		-demosdir ${QTDEMOSDIR} -silent -fast
309
		-demosdir ${QTDEMOSDIR} -silent -fast ${exceptions}
295
		$([[ ${PN} == qt-xmlpatterns ]] || echo -no-exceptions)
296
		-reduce-relocations -nomake examples -nomake demos"
310
		-reduce-relocations -nomake examples -nomake demos"
297
311
298
	# Make eclass 4.5.{1,2} ready
312
	# Make eclass 4.5.{1,2} ready

Return to bug 240185