Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/c-intercal/, dev-lang/c-intercal/files/
Date: Fri, 28 Oct 2016 21:17:16
Message-Id: 1477689407.98522ed0cdd4b50881fd4e5ba2fac150a7b030f7.ulm@gentoo
1 commit: 98522ed0cdd4b50881fd4e5ba2fac150a7b030f7
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 28 21:16:47 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 28 21:16:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98522ed0
7
8 dev-lang/c-intercal: Fix package version in configure.
9
10 Package-Manager: portage-2.3.2
11
12 dev-lang/c-intercal/c-intercal-30.0.ebuild | 8 +++++++-
13 dev-lang/c-intercal/files/c-intercal-30.0-version.patch | 11 +++++++++++
14 2 files changed, 18 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-lang/c-intercal/c-intercal-30.0.ebuild b/dev-lang/c-intercal/c-intercal-30.0.ebuild
17 index 87a8bea..8c0b34d 100644
18 --- a/dev-lang/c-intercal/c-intercal-30.0.ebuild
19 +++ b/dev-lang/c-intercal/c-intercal-30.0.ebuild
20 @@ -4,7 +4,7 @@
21
22 EAPI=6
23
24 -inherit elisp-common
25 +inherit autotools elisp-common
26
27 # C-INTERCAL uses minor-major ordering of version components and
28 # negative version numbers. We map version components -1, -2, ...
29 @@ -39,6 +39,12 @@ RDEPEND="${DEPEND}"
30 S="${WORKDIR}/${MY_PN}-${MY_PV}"
31 SITEFILE="50${PN}-gentoo.el"
32
33 +src_prepare() {
34 + eapply "${FILESDIR}"/${P}-version.patch
35 + eapply_user
36 + eautoreconf
37 +}
38 +
39 src_compile() {
40 emake
41
42
43 diff --git a/dev-lang/c-intercal/files/c-intercal-30.0-version.patch b/dev-lang/c-intercal/files/c-intercal-30.0-version.patch
44 new file mode 100644
45 index 00000000..3fe8d02
46 --- /dev/null
47 +++ b/dev-lang/c-intercal/files/c-intercal-30.0-version.patch
48 @@ -0,0 +1,11 @@
49 +--- intercal-0.30-orig/configure.ac
50 ++++ intercal-0.30/configure.ac
51 +@@ -14,7 +14,7 @@
52 + subdir-objects no-texinfo.tex -Wall -Wno-override])
53 +
54 + dnl Information about this version of INTERCAL.
55 +-PACKAGE_VERSION=0.29
56 ++PACKAGE_VERSION=0.30
57 +
58 + dnl Checks for programs.
59 + AC_PROG_YACC