summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-09-14 17:21:51 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-09-14 17:21:51 +0000
commitbd39538f90db9d13beab5511b36bd62f1414e0a3 (patch)
tree5e3f4d42129b8a1d4ccb6805c99412bb4445444a /sci-mathematics/pari/pari-2.3.5.ebuild
parentstable x86, bug 335836 (diff)
downloadgentoo-2-bd39538f90db9d13beab5511b36bd62f1414e0a3.tar.gz
gentoo-2-bd39538f90db9d13beab5511b36bd62f1414e0a3.tar.bz2
gentoo-2-bd39538f90db9d13beab5511b36bd62f1414e0a3.zip
USE=-emacs was hanging in src_install. Patch by ulm, fixing bug #335898
(Portage version: 2.2_rc81/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/pari/pari-2.3.5.ebuild')
-rw-r--r--sci-mathematics/pari/pari-2.3.5.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sci-mathematics/pari/pari-2.3.5.ebuild b/sci-mathematics/pari/pari-2.3.5.ebuild
index 8d7099d72361..ec5cc77d2e0b 100644
--- a/sci-mathematics/pari/pari-2.3.5.ebuild
+++ b/sci-mathematics/pari/pari-2.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.5.ebuild,v 1.1 2010/05/04 21:56:09 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.5.ebuild,v 1.2 2010/09/14 17:21:51 bicatali Exp $
EAPI=2
inherit elisp-common eutils flag-o-matic toolchain-funcs
@@ -61,6 +61,12 @@ src_prepare() {
-e 's:"xdvi":"xdg-open":' \
-e 's:xdvi -paper 29.7x21cm:xdg-open:' \
doc/gphelp.in || die "Failed to fix doc dir"
+
+ if ! use emacs; then
+ # disable emacs support
+ sed -i -e '/^list=/s/emacs//' Configure \
+ || die "Failed to edit Configure"
+ fi
}
src_configure() {