diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-03-08 04:17:20 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-03-08 04:17:20 +0000 |
commit | 79310cd8801c20c27a7783f51f6d830f26e296ad (patch) | |
tree | e670f8462056ac8626e30d3b2d25b7d110861519 /dev-tcltk/itcl/itcl-3.2.1-r1.ebuild | |
parent | Changed mips back to ~mips in KEYWORDS. (diff) | |
download | gentoo-2-79310cd8801c20c27a7783f51f6d830f26e296ad.tar.gz gentoo-2-79310cd8801c20c27a7783f51f6d830f26e296ad.tar.bz2 gentoo-2-79310cd8801c20c27a7783f51f6d830f26e296ad.zip |
add prospective fix for bug #43770
Diffstat (limited to 'dev-tcltk/itcl/itcl-3.2.1-r1.ebuild')
-rw-r--r-- | dev-tcltk/itcl/itcl-3.2.1-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/itcl/itcl-3.2.1-r1.ebuild b/dev-tcltk/itcl/itcl-3.2.1-r1.ebuild new file mode 100644 index 000000000000..979606717ffa --- /dev/null +++ b/dev-tcltk/itcl/itcl-3.2.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.2.1-r1.ebuild,v 1.1 2004/03/08 04:17:20 robbat2 Exp $ + +MY_P=${PN}${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" +SRC_URI="mirror://sourceforge/incrtcl/${MY_P}_src.tgz" +HOMEPAGE="http://www.tcltk.com/${PN}/" + +SLOT="0" +LICENSE="as-is BSD" +KEYWORDS="~x86 ~ppc ~sparc" +DEPEND="dev-lang/tk" +PDEPEND="dev-tcltk/iwidgets" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PF}-gentoo.diff + # fix an undefined const glitch for Tcl8.3 + sed -i '1004h;1004d;1006G' ${S}/itcl/generic/itcl_class.c +} + +src_compile() { + econf || die "econf failed" + emake DESTDIR="${D}" CFLAGS_DEFAULT="${CFLAGS}" || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc CHANGES INCOMPATIBLE README TODO license.terms + dodoc doc/* + dosym /usr/lib/itcl3.2 /usr/lib/itcl + dosym /usr/lib/itk3.2 /usr/lib/itk +} |