summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2008-06-20 08:25:44 +0000
committerAndreas Proschofsky <suka@gentoo.org>2008-06-20 08:25:44 +0000
commit1fbca95dd0960d41b27885978a160f36b0cdcd76 (patch)
tree738519591411fec97defe24dfba0b3ac527ec490 /app-office
parentVersion Bump. (diff)
downloadgentoo-2-1fbca95dd0960d41b27885978a160f36b0cdcd76.tar.gz
gentoo-2-1fbca95dd0960d41b27885978a160f36b0cdcd76.tar.bz2
gentoo-2-1fbca95dd0960d41b27885978a160f36b0cdcd76.zip
Check for python built with threads USE flag, closes bug #227287
(Portage version: 2.1.5.6)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice/ChangeLog6
-rw-r--r--app-office/openoffice/openoffice-2.4.1.ebuild9
2 files changed, 13 insertions, 2 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog
index b97250ee4bfa..3253f8259fab 100644
--- a/app-office/openoffice/ChangeLog
+++ b/app-office/openoffice/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/openoffice
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.404 2008/06/20 05:28:32 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.405 2008/06/20 08:25:44 suka Exp $
+
+ 20 Jun 2008; Andreas Proschofsky <suka@gentoo.org>
+ openoffice-2.4.1.ebuild:
+ Check for python built with threads USE flag, closes bug #227287
20 Jun 2008; Andreas Proschofsky <suka@gentoo.org>
openoffice-2.4.1.ebuild:
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