# ChangeLog for dev-tcltk/thread
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/thread/ChangeLog,v 1.2 2005/07/03 01:20:12 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/thread/ChangeLog,v 1.3 2005/11/16 11:27:05 herbs Exp $
+
+ 16 Nov 2005; Herbie Hopkins <herbs@gentoo.org> thread-2.6.1.ebuild:
+ Multilib fix.
03 Jul 2005; MATSUU Takuto <matsuu@gentoo.org> thread-2.6.1.ebuild:
Fixed with gdbm cofigure issue. Bug 97738.
-MD5 2ecd1ec578a13592b623d8ab6b58c5a0 thread-2.6.1.ebuild 1076
-MD5 b68310e6e2e92adc40b42a5b6d1d7955 ChangeLog 500
-MD5 43e377139ff5f3b7415b94a8c8d5260d metadata.xml 158
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 fd0b6946646b51f640fea3b6d1a6cb2b ChangeLog 586
MD5 9b4c86b16329dae30cdefd49b1e31f68 files/digest-thread-2.6.1 63
+MD5 43e377139ff5f3b7415b94a8c8d5260d metadata.xml 158
+MD5 0485e2ab2787a91f581d98d07cd85cf5 thread-2.6.1.ebuild 1362
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDexeY2G5bA0cA/ScRAjuUAJ9tj/WQLi9zcVtacozi4+8EjR9PlwCfU+ue
+HHEaM4o2cKrIaliiU1L0zJo=
+=COIn
+-----END PGP SIGNATURE-----
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/thread/thread-2.6.1.ebuild,v 1.2 2005/07/03 01:20:12 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/thread/thread-2.6.1.ebuild,v 1.3 2005/11/16 11:27:05 herbs Exp $
-inherit eutils
+inherit eutils multilib
DESCRIPTION="the Tcl Thread extension"
HOMEPAGE="http://www.tcl.tk/"
S=${WORKDIR}/${PN}${PV}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Search for libs in libdir not just exec_prefix/lib
+ sed -i -e 's:${exec_prefix}/lib:${libdir}:' \
+ aclocal.m4 || die "sed failed"
+ aclocal || die "aclocal failed"
+ autoconf || die "autoconf failed"
+}
+
pkg_setup() {
if ! built_with_use dev-lang/tcl threads ; then
eerror "dev-lang/tcl was not merged with threading enabled."
}
src_compile() {
- local myconf="--with-threads --with-tclinclude=/usr/include"
+ local myconf="--with-threads --with-tclinclude=/usr/include \
+ --with-tcl=/usr/$(get_libdir)"
if use gdbm ; then
myconf="${myconf} --with-gdbm"
fi
+
econf ${myconf} || die "econf failed"
emake || die "emake failed"
}