summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2015-09-17 19:24:16 +1000
committerMark Wright <gienah@gentoo.org>2015-09-17 19:24:32 +1000
commita7f26198fbd44390a5b72d82cca6c76226465aad (patch)
tree7ca44a879cc2bd1fbf361351c044e5a98cc014a9 /app-emacs/slime/slime-2.12.ebuild
parentx11-libs/libdrm: Version bump (diff)
downloadgentoo-a7f26198fbd44390a5b72d82cca6c76226465aad.tar.gz
gentoo-a7f26198fbd44390a5b72d82cca6c76226465aad.tar.bz2
gentoo-a7f26198fbd44390a5b72d82cca6c76226465aad.zip
app-emacs/slime: Bump to 2.15
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-emacs/slime/slime-2.12.ebuild')
-rw-r--r--app-emacs/slime/slime-2.12.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/app-emacs/slime/slime-2.12.ebuild b/app-emacs/slime/slime-2.12.ebuild
index c0a8ff26952..72f8d257fab 100644
--- a/app-emacs/slime/slime-2.12.ebuild
+++ b/app-emacs/slime/slime-2.12.ebuild
@@ -54,10 +54,14 @@ src_prepare() {
SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
[ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
- # SLIME uses the changelog date to make sure that the emacs side and the CL side
- # are in sync. We hardcode it instead of letting slime determine it at runtime
- # because ChangeLog doesn't get installed to $EMACSDIR
- epatch "${FILESDIR}"/2.11/gentoo-changelog-date.patch
+ if [[ "${PV}" == "2.11" ]] || [[ "${PV}" == "2.12" ]]; then
+ # SLIME uses the changelog date to make sure that the emacs side and the CL side
+ # are in sync. We hardcode it instead of letting slime determine it at runtime
+ # because ChangeLog doesn't get installed to $EMACSDIR
+ epatch "${FILESDIR}"/2.11/gentoo-changelog-date.patch
+ else
+ epatch "${FILESDIR}"/2.15/gentoo-changelog-date.patch
+ fi
# When starting slime in emacs, slime looks for ${S}/swank/backend.lisp as
# /usr/share/common-lisp/source/swank/swank-backend.lisp