summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2016-10-28 23:16:47 +0200
committerUlrich Müller <ulm@gentoo.org>2016-10-28 23:16:47 +0200
commit98522ed0cdd4b50881fd4e5ba2fac150a7b030f7 (patch)
tree9d4ca26f8f3918104dd0d9923706f449f3c24546 /dev-lang/c-intercal
parentdev-lang/c-intercal: Version bump. (diff)
downloadgentoo-98522ed0cdd4b50881fd4e5ba2fac150a7b030f7.tar.gz
gentoo-98522ed0cdd4b50881fd4e5ba2fac150a7b030f7.tar.bz2
gentoo-98522ed0cdd4b50881fd4e5ba2fac150a7b030f7.zip
dev-lang/c-intercal: Fix package version in configure.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-lang/c-intercal')
-rw-r--r--dev-lang/c-intercal/c-intercal-30.0.ebuild8
-rw-r--r--dev-lang/c-intercal/files/c-intercal-30.0-version.patch11
2 files changed, 18 insertions, 1 deletions
diff --git a/dev-lang/c-intercal/c-intercal-30.0.ebuild b/dev-lang/c-intercal/c-intercal-30.0.ebuild
index 87a8beac9a5..8c0b34dc773 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 00000000000..3fe8d026e23
--- /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