diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2009-07-06 11:02:22 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2009-07-06 11:02:22 +0000 |
commit | ced093b1ea23396d4edf3f81be5eec2fcb350c9e (patch) | |
tree | aa3fa8aee321cc634a527a0b830813b6a4160ceb /sci-mathematics/singular | |
parent | Fix various comments and deps per bugs #263669, #263779, #260329. (diff) | |
download | gentoo-2-ced093b1ea23396d4edf3f81be5eec2fcb350c9e.tar.gz gentoo-2-ced093b1ea23396d4edf3f81be5eec2fcb350c9e.tar.bz2 gentoo-2-ced093b1ea23396d4edf3f81be5eec2fcb350c9e.zip |
fix bug 276713 on behalf of ulm of the emacs team
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/singular')
-rw-r--r-- | sci-mathematics/singular/ChangeLog | 5 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-3.0.4.4.ebuild | 18 |
2 files changed, 14 insertions, 9 deletions
diff --git a/sci-mathematics/singular/ChangeLog b/sci-mathematics/singular/ChangeLog index 76bb6bd5de80..09d54b2cc3b2 100644 --- a/sci-mathematics/singular/ChangeLog +++ b/sci-mathematics/singular/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-mathematics/singular # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.26 2009/06/21 18:50:13 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.27 2009/07/06 11:02:22 hkbst Exp $ + + 06 Jul 2009; Marijn Schouten <hkBst@gentoo.org> singular-3.0.4.4.ebuild: + fix bug 276713 on behalf of ulm of the emacs team 21 Jun 2009; Hans de Graaff <graaff@gentoo.org> singular-3.0.1.2.ebuild: Rename virtual/xemacs -> app-editors/xemacs since the virtual has been diff --git a/sci-mathematics/singular/singular-3.0.4.4.ebuild b/sci-mathematics/singular/singular-3.0.4.4.ebuild index af8d6072c649..a7f835ccb8f2 100644 --- a/sci-mathematics/singular/singular-3.0.4.4.ebuild +++ b/sci-mathematics/singular/singular-3.0.4.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.0.4.4.ebuild,v 1.2 2008/11/08 03:53:08 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.0.4.4.ebuild,v 1.3 2009/07/06 11:02:22 hkbst Exp $ inherit eutils elisp-common flag-o-matic autotools multilib versionator @@ -28,14 +28,16 @@ S="${WORKDIR}"/${MY_PN}-${MY_PV_MAJOR} SITEFILE=60${PN}-gentoo.el pkg_setup() { + if use emacs; then # we need at least emacs-22 in order for our emacs patches # to work - need_emacs=22 - have_emacs=$(elisp-emacs-version) - if ! version_is_at_least "${need_emacs}" "${have_emacs}"; then - eerror "This package needs at least emacs version ${need_emacs}." - eerror "Use \"eselect emacs\" to select the active version." - die "Emacs version is too low." + need_emacs=22 + have_emacs=$(elisp-emacs-version) + if ! version_is_at_least "${need_emacs}" "${have_emacs}"; then + eerror "This package needs at least emacs version ${need_emacs}." + eerror "Use \"eselect emacs\" to select the active version." + die "Emacs version is too low." + fi fi } |