summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-04-27 16:25:54 +0000
committerJustin Lecher <jlec@gentoo.org>2013-04-27 16:25:54 +0000
commita2976c0d685b093cf30644d362a421bf309b79b3 (patch)
treedd2e6c6f6ac216561dfd83c8f63c1d12e0e80851 /dev-tcltk
parentold (diff)
downloadgentoo-2-a2976c0d685b093cf30644d362a421bf309b79b3.tar.gz
gentoo-2-a2976c0d685b093cf30644d362a421bf309b79b3.tar.bz2
gentoo-2-a2976c0d685b093cf30644d362a421bf309b79b3.zip
dev-tcltk/ck: Add fix for compatibility with tcl-8.6, #467442
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/ck/ChangeLog9
-rw-r--r--dev-tcltk/ck/ck-8.0-r4.ebuild39
-rw-r--r--dev-tcltk/ck/metadata.xml2
3 files changed, 47 insertions, 3 deletions
diff --git a/dev-tcltk/ck/ChangeLog b/dev-tcltk/ck/ChangeLog
index 4ba70b437d6c..f99e01d8a2b4 100644
--- a/dev-tcltk/ck/ChangeLog
+++ b/dev-tcltk/ck/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tcltk/ck
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ChangeLog,v 1.11 2012/02/24 14:15:15 jlec Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ChangeLog,v 1.12 2013/04/27 16:25:54 jlec Exp $
+
+*ck-8.0-r4 (27 Apr 2013)
+
+ 27 Apr 2013; Justin Lecher <jlec@gentoo.org> +ck-8.0-r4.ebuild, metadata.xml:
+ Add fix for compatibility with tcl-8.6, #467442
24 Feb 2012; Justin Lecher <jlec@gentoo.org> -ck-8.0.ebuild,
-ck-8.0-r2.ebuild:
diff --git a/dev-tcltk/ck/ck-8.0-r4.ebuild b/dev-tcltk/ck/ck-8.0-r4.ebuild
new file mode 100644
index 000000000000..038e49fa194d
--- /dev/null
+++ b/dev-tcltk/ck/ck-8.0-r4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ck-8.0-r4.ebuild,v 1.1 2013/04/27 16:25:54 jlec Exp $
+
+EAPI=5
+
+inherit eutils multilib
+
+MY_P=${PN}${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A curses based toolkit for tcl"
+HOMEPAGE="http://www.ch-werner.de/ck/"
+SRC_URI="
+ http://www.ch-werner.de/ck/${MY_P}.tar.gz
+ http://dev.gentoo.org/~jlec/distfiles/${P}-tcl8.6.patch.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/tk"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.patch \
+ "${WORKDIR}"/${P}-tcl8.6.patch
+ sed \
+ -e "/^LIB_INSTALL_DIR/s:lib$:$(get_libdir):g" \
+ -i Makefile.in || die
+}
+
+src_configure() {
+ econf \
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)" \
+ --enable-shared
+}
diff --git a/dev-tcltk/ck/metadata.xml b/dev-tcltk/ck/metadata.xml
index 815cc916f2b6..70ac40499556 100644
--- a/dev-tcltk/ck/metadata.xml
+++ b/dev-tcltk/ck/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>tcltk</herd>
+ <herd>tcltk</herd>
</pkgmetadata>