summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/openoffice/openoffice-2.4.1.ebuild')
-rw-r--r--app-office/openoffice/openoffice-2.4.1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/app-office/openoffice/openoffice-2.4.1.ebuild b/app-office/openoffice/openoffice-2.4.1.ebuild
index 7d977fa6d7c9..7b0314aa01dc 100644
--- a/app-office/openoffice/openoffice-2.4.1.ebuild
+++ b/app-office/openoffice/openoffice-2.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.4.1.ebuild,v 1.4 2008/06/20 05:28:32 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.4.1.ebuild,v 1.5 2008/06/20 08:25:44 suka Exp $
WANT_AUTOCONF="2.5"
WANT_AUTOMAKE="1.9"
@@ -206,6 +206,13 @@ pkg_setup() {
fi
fi
+ # Check python
+ if ! built_with_use dev-lang/python threads
+ then
+ eerror "Python needs to be built with threads."
+ die
+ fi
+
java-pkg-opt-2_pkg_setup
# sys-libs/db version used