summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-06-26 21:11:49 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-06-26 21:11:49 +0000
commit81e717e0eb0842c25d6e4f476bacc28fdf33d9c3 (patch)
treec1238fe2ee92dacb106616d312eb465c7ba037be /app-misc/gramps/gramps-1.0.1.ebuild
parentInitial import. (diff)
downloadgentoo-2-81e717e0eb0842c25d6e4f476bacc28fdf33d9c3.tar.gz
gentoo-2-81e717e0eb0842c25d6e4f476bacc28fdf33d9c3.tar.bz2
gentoo-2-81e717e0eb0842c25d6e4f476bacc28fdf33d9c3.zip
fixed python hack with DISPLAY is empty (#46563)
Diffstat (limited to 'app-misc/gramps/gramps-1.0.1.ebuild')
-rw-r--r--app-misc/gramps/gramps-1.0.1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-misc/gramps/gramps-1.0.1.ebuild b/app-misc/gramps/gramps-1.0.1.ebuild
index 689c04371dd0..eb8b722f2a00 100644
--- a/app-misc/gramps/gramps-1.0.1.ebuild
+++ b/app-misc/gramps/gramps-1.0.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-1.0.1.ebuild,v 1.3 2004/06/24 22:14:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-1.0.1.ebuild,v 1.4 2004/06/26 21:11:49 liquidx Exp $
-inherit gnome2
+inherit gnome2 virtualx
IUSE=""
DESCRIPTION="Genealogical Research and Analysis Management Programming System"
@@ -28,8 +28,10 @@ DEPEND="${RDEPEND}
DOCS="COPYING NEWS README TODO"
MAKEOPTS="${MAKEOPTS} -j1"
+
pkg_setup() {
- if ! python -c "import gtk.glade" 2>&1 > /dev/null ; then
+ export maketype="python"
+ if ! echo 'import gtk.glade' | virtualmake; then
eerror "You need to install pygtk with libglade support. Try:"
eerror "USE='gnome' emerge pygtk gramps"
die "libglade support missing from pygtk"