summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2012-10-22 22:01:21 +0000
committerChristian Faulhammer <fauli@gentoo.org>2012-10-22 22:01:21 +0000
commitf49454791af495a73e60d28b0d9c6b5c6559b799 (patch)
tree1d47c216eb9831eb8c5301390cf4cd5183aaa148 /sci-mathematics/pari/pari-2.3.5.ebuild
parentRespect CC, EAPI4 bump, add missing DEPEND, add ~amd64 (diff)
downloadhistorical-f49454791af495a73e60d28b0d9c6b5c6559b799.tar.gz
historical-f49454791af495a73e60d28b0d9c6b5c6559b799.tar.bz2
historical-f49454791af495a73e60d28b0d9c6b5c6559b799.zip
drop GNU Emacs support as it is not compatible with Emacs 24 (see bug 419457), also remove som disfunctional rests from newer ebuilds
Package-Manager: portage-2.1.11.9/cvs/Linux i686
Diffstat (limited to 'sci-mathematics/pari/pari-2.3.5.ebuild')
-rw-r--r--sci-mathematics/pari/pari-2.3.5.ebuild36
1 files changed, 6 insertions, 30 deletions
diff --git a/sci-mathematics/pari/pari-2.3.5.ebuild b/sci-mathematics/pari/pari-2.3.5.ebuild
index 54105e90d383..72e4b99c88b0 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-2011 Gentoo Foundation
+# Copyright 1999-2012 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.6 2011/04/24 15:49:42 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.5.ebuild,v 1.7 2012/10/22 22:01:21 fauli Exp $
EAPI=3
inherit elisp-common eutils flag-o-matic toolchain-funcs
@@ -18,10 +18,9 @@ SRC_URI="${SRC_COM}/unix/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris"
-IUSE="doc data emacs fltk gmp static-libs X"
+IUSE="doc data fltk gmp static-libs X"
RDEPEND="sys-libs/readline
- emacs? ( virtual/emacs )
fltk? ( x11-libs/fltk:1 )
gmp? ( dev-libs/gmp )
X? ( x11-libs/libX11 )
@@ -29,8 +28,6 @@ RDEPEND="sys-libs/readline
DEPEND="${RDEPEND}
doc? ( virtual/latex-base )"
-SITEFILE=50${PN}-gentoo.el
-
get_compile_dir() {
pushd "${S}/config" >& /dev/null
local fastread=yes
@@ -62,12 +59,9 @@ 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
+ # disable emacs support
+ sed -i -e '/^list=/s/emacs//' Configure \
+ || die
}
src_configure() {
@@ -116,10 +110,6 @@ src_compile() {
VARTEXFONTS="${T}"/fonts emake docpdf \
|| die "Failed to generate docs"
fi
- if use emacs; then
- cd "${S}/emacs"
- elisp-compile *.el || die "elisp-compile failed"
- fi
}
src_test() {
@@ -129,12 +119,6 @@ src_test() {
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
- if use emacs; then
- elisp-install ${PN} emacs/*.el emacs/*.elc \
- || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
dodoc AUTHORS Announce.2.1 CHANGES README NEW MACHINES COMPAT
if use doc; then
emake \
@@ -156,11 +140,3 @@ src_install() {
install-lib-sta || die "Install of static library failed"
fi
}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}