commit:     98522ed0cdd4b50881fd4e5ba2fac150a7b030f7
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 21:16:47 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 21:16:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98522ed0

dev-lang/c-intercal: Fix package version in configure.

Package-Manager: portage-2.3.2

 dev-lang/c-intercal/c-intercal-30.0.ebuild              |  8 +++++++-
 dev-lang/c-intercal/files/c-intercal-30.0-version.patch | 11 +++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/dev-lang/c-intercal/c-intercal-30.0.ebuild 
b/dev-lang/c-intercal/c-intercal-30.0.ebuild
index 87a8bea..8c0b34d 100644
--- a/dev-lang/c-intercal/c-intercal-30.0.ebuild
+++ b/dev-lang/c-intercal/c-intercal-30.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit elisp-common
+inherit autotools elisp-common
 
 # C-INTERCAL uses minor-major ordering of version components and
 # negative version numbers. We map version components -1, -2, ...
@@ -39,6 +39,12 @@ RDEPEND="${DEPEND}"
 S="${WORKDIR}/${MY_PN}-${MY_PV}"
 SITEFILE="50${PN}-gentoo.el"
 
+src_prepare() {
+       eapply "${FILESDIR}"/${P}-version.patch
+       eapply_user
+       eautoreconf
+}
+
 src_compile() {
        emake
 

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
new file mode 100644
index 00000000..3fe8d02
--- /dev/null
+++ b/dev-lang/c-intercal/files/c-intercal-30.0-version.patch
@@ -0,0 +1,11 @@
+--- intercal-0.30-orig/configure.ac
++++ intercal-0.30/configure.ac
+@@ -14,7 +14,7 @@
+                 subdir-objects no-texinfo.tex -Wall -Wno-override])
+ 
+ dnl Information about this version of INTERCAL.
+-PACKAGE_VERSION=0.29
++PACKAGE_VERSION=0.30
+ 
+ dnl Checks for programs.
+ AC_PROG_YACC

Reply via email to