summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-05-04 01:49:31 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-05-04 01:49:31 +0000
commit0ba5c3558c59b2ef2fa870b1e426da88e92a8f49 (patch)
treeac72c685226483be6f440420c6276afb722d140c /sci-libs/vtk
parentAdded patch to fix the as-needed linking issues (see bug #167438). (diff)
downloadgentoo-2-0ba5c3558c59b2ef2fa870b1e426da88e92a8f49.tar.gz
gentoo-2-0ba5c3558c59b2ef2fa870b1e426da88e92a8f49.tar.bz2
gentoo-2-0ba5c3558c59b2ef2fa870b1e426da88e92a8f49.zip
Check for qt3support useflag when building the examples under qt4 (see bug #176847).
(Portage version: 2.1.2.5)
Diffstat (limited to 'sci-libs/vtk')
-rw-r--r--sci-libs/vtk/ChangeLog6
-rw-r--r--sci-libs/vtk/vtk-5.0.3.ebuild10
2 files changed, 14 insertions, 2 deletions
diff --git a/sci-libs/vtk/ChangeLog b/sci-libs/vtk/ChangeLog
index 202324c47d31..74d856d50228 100644
--- a/sci-libs/vtk/ChangeLog
+++ b/sci-libs/vtk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/vtk
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/ChangeLog,v 1.30 2007/05/01 12:28:15 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/ChangeLog,v 1.31 2007/05/04 01:49:31 markusle Exp $
+
+ 04 May 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild:
+ Check for qt3support useflag when building the examples under qt4
+ (see bug #176847).
01 May 2007; Markus Dittrich <markusle@gentoo.org> metadata.xml,
vtk-5.0.3.ebuild:
diff --git a/sci-libs/vtk/vtk-5.0.3.ebuild b/sci-libs/vtk/vtk-5.0.3.ebuild
index 5f694fda2c37..ed7f2f054efb 100644
--- a/sci-libs/vtk/vtk-5.0.3.ebuild
+++ b/sci-libs/vtk/vtk-5.0.3.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/sci-libs/vtk/vtk-5.0.3.ebuild,v 1.2 2007/05/01 12:28:15 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.0.3.ebuild,v 1.3 2007/05/04 01:49:31 markusle Exp $
inherit distutils eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 python qt3
@@ -45,6 +45,14 @@ pkg_setup() {
ewarn "qt4 support has therefore been enabled by default."
echo
fi
+
+ use qt4 && use examples && \
+ if ! built_with_use =x11-libs/qt-4* qt3support; then
+ echo
+ eerror 'Please emerge qt4 with USE="qt3support" to'
+ eerror 'build the examples under qt4!'
+ die "qt4 setup error"
+ fi
}
src_compile() {