summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-07-27 23:44:11 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-07-27 23:44:11 +0000
commit02cf7e0d8be0f1e6bcefb1a0305600a847516517 (patch)
tree81d7adeaaded178a455ef521046ec26ca716223a /dev-tcltk
parentAdd ~amd64 closes bug #57764 (diff)
downloadhistorical-02cf7e0d8be0f1e6bcefb1a0305600a847516517.tar.gz
historical-02cf7e0d8be0f1e6bcefb1a0305600a847516517.tar.bz2
historical-02cf7e0d8be0f1e6bcefb1a0305600a847516517.zip
fix bug #57294.
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tclcl/ChangeLog5
-rw-r--r--dev-tcltk/tclcl/Manifest4
-rw-r--r--dev-tcltk/tclcl/tclcl-1.15.ebuild13
3 files changed, 15 insertions, 7 deletions
diff --git a/dev-tcltk/tclcl/ChangeLog b/dev-tcltk/tclcl/ChangeLog
index 84ecfb2d25a1..3aba03db4a3f 100644
--- a/dev-tcltk/tclcl/ChangeLog
+++ b/dev-tcltk/tclcl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-tcltk/tclcl
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/ChangeLog,v 1.4 2004/06/25 02:08:09 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/ChangeLog,v 1.5 2004/07/27 23:44:11 robbat2 Exp $
+
+ 27 Jul 2004; Robin H. Johnson <robbat2@gentoo.org> tclcl-1.15.ebuild:
+ fix bug #57294.
04 Apr 2004; Chris Aniszczyk <zx@gentoo.org> metadata.xml,
tclcl-1.15.ebuild:
diff --git a/dev-tcltk/tclcl/Manifest b/dev-tcltk/tclcl/Manifest
index 6420f953970f..3d1617864029 100644
--- a/dev-tcltk/tclcl/Manifest
+++ b/dev-tcltk/tclcl/Manifest
@@ -1,4 +1,4 @@
-MD5 734208904e79e0493c408bf1e5442030 tclcl-1.15.ebuild 827
-MD5 e5aa1a87f831c35af06c4fe3d4fb90a0 ChangeLog 650
+MD5 79d33eed6c429032c32c395db46fd522 tclcl-1.15.ebuild 1103
+MD5 bc29cc0acf0346cc9d942affb85819fc ChangeLog 740
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
MD5 41adc84ac6cad0bee07580c916d9450f files/digest-tclcl-1.15 66
diff --git a/dev-tcltk/tclcl/tclcl-1.15.ebuild b/dev-tcltk/tclcl/tclcl-1.15.ebuild
index 17d619009907..b1746db32171 100644
--- a/dev-tcltk/tclcl/tclcl-1.15.ebuild
+++ b/dev-tcltk/tclcl/tclcl-1.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.15.ebuild,v 1.5 2004/06/25 02:08:09 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.15.ebuild,v 1.6 2004/07/27 23:44:11 robbat2 Exp $
DESCRIPTION="Tcl/C++ interface library"
SF_PN="otcl-tclcl"
@@ -16,9 +16,14 @@ DEPEND=">=dev-lang/tcl-8.3.2
>=dev-tcltk/otcl-1.0.8"
src_compile() {
- econf || die
- sed 's|$(LIBRARY_TCL)/http/http.tcl|$(LIBRARY_TCL)/http2.4/http.tcl|g' -i Makefile
- emake || die
+ local tclv tkv
+ tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/')
+ tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')
+ local myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}"
+ econf ${myconf} || die "econf failed"
+ sed 's|$(LIBRARY_TCL)/http.*/http.tcl|$(LIBRARY_TCL)/http2.4/http.tcl|g' \
+ -i Makefile || die "sed failed"
+ emake || die "emake failed"
}
src_install() {