summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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() {