Skip to content

Commit

Permalink
dev-lang/c-intercal: Fix package version in configure.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
ulm committed Oct 28, 2016
1 parent a1a5953 commit 98522ed
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dev-lang/c-intercal/c-intercal-30.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...
Expand Down Expand Up @@ -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

Expand Down
11 changes: 11 additions & 0 deletions dev-lang/c-intercal/files/c-intercal-30.0-version.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 98522ed

Please sign in to comment.