# ChangeLog for dev-libs/libedit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/ChangeLog,v 1.21 2007/02/22 00:54:45 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/ChangeLog,v 1.22 2007/03/16 12:11:41 uberlord Exp $
+
+*libedit-20061103-r1 (16 Mar 2007)
+
+ 16 Mar 2007; Roy Marples <uberlord@gentoo.org>
+ +libedit-20061103-r1.ebuild:
+ Bump fo fix #169515.
22 Feb 2007; Piotr JaroszyĆski <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
MD5 6f5c76ccc4ad0165ad69c6bf6916b4b4 libedit-20050930.ebuild 932
RMD160 f34a25bc369cf5484fa876397962523723a54a1b libedit-20050930.ebuild 932
SHA256 4f975ae89896edfefe31d53ebcea2fb8ac1e9af590de1a43af4d16ed79295790 libedit-20050930.ebuild 932
+EBUILD libedit-20061103-r1.ebuild 1329 RMD160 89be5b64be908bd61c27083d105e411e1b0288ca SHA1 d705bdb2ba0a222acb4b9626543040f859eba880 SHA256 fb226e17d52926a9b15600e868c8273f878d94eaff9cf4287f1ac2eee83d06d3
+MD5 fa2c943b2e22bf9da2502ac65e0c34da libedit-20061103-r1.ebuild 1329
+RMD160 89be5b64be908bd61c27083d105e411e1b0288ca libedit-20061103-r1.ebuild 1329
+SHA256 fb226e17d52926a9b15600e868c8273f878d94eaff9cf4287f1ac2eee83d06d3 libedit-20061103-r1.ebuild 1329
EBUILD libedit-20061103.ebuild 1327 RMD160 ad5bd5da72962dd033083abf0442095f54727ded SHA1 89ed1605c932da9d9a819f2c6f0370c8366f7a7f SHA256 2443a68e2e09367bf39227e3cb263e4072d36391b5130d094b79209d7e924ab0
MD5 87ea5471244adfa5f8224dadc6e301bd libedit-20061103.ebuild 1327
RMD160 ad5bd5da72962dd033083abf0442095f54727ded libedit-20061103.ebuild 1327
SHA256 2443a68e2e09367bf39227e3cb263e4072d36391b5130d094b79209d7e924ab0 libedit-20061103.ebuild 1327
-MISC ChangeLog 2149 RMD160 f4eadc45b5240215cd1d8653b4882ee93af8c9c7 SHA1 1393b59af4001561b43855e249b20acac12aabaa SHA256 7a0e8aa3cd67e9290e175f003b31c5c15ae1ea488da8076883b306c309c0283c
-MD5 c0a913f230a93b9a6cef42f9fba1770b ChangeLog 2149
-RMD160 f4eadc45b5240215cd1d8653b4882ee93af8c9c7 ChangeLog 2149
-SHA256 7a0e8aa3cd67e9290e175f003b31c5c15ae1ea488da8076883b306c309c0283c ChangeLog 2149
+MISC ChangeLog 2292 RMD160 999c769d20fff92659ee5918363304bee4736958 SHA1 73b85fd409aff20170454d27100fb98fd347ce57 SHA256 48d97d38f46dca7ff435b979c859202e7855e2a198d342d131400557333aabf9
+MD5 64ac6748c996d941fa3f28c503106f22 ChangeLog 2292
+RMD160 999c769d20fff92659ee5918363304bee4736958 ChangeLog 2292
+SHA256 48d97d38f46dca7ff435b979c859202e7855e2a198d342d131400557333aabf9 ChangeLog 2292
MISC metadata.xml 620 RMD160 185de826ddbcf0ac5f56b5807e15c9db5a9b6ecf SHA1 ca4dbed5f026bcd680b4532694b567bf435e8e4a SHA256 854e5b5f73775072518392a556d0f43ea0f4932bed80db7efc6a921d6e354ce1
MD5 dd9909c8d431d328b7f97b210f957592 metadata.xml 620
RMD160 185de826ddbcf0ac5f56b5807e15c9db5a9b6ecf metadata.xml 620
MD5 516cad497ba5c3a5d23ea3bf25f2d6d6 files/digest-libedit-20061103 250
RMD160 450d39f599024f0902b68d12c5255120d28cc3d7 files/digest-libedit-20061103 250
SHA256 e728639d59bc42c99887fa4d8ef36fb3eead6d5e33aad39bca885012568a7e09 files/digest-libedit-20061103 250
+MD5 516cad497ba5c3a5d23ea3bf25f2d6d6 files/digest-libedit-20061103-r1 250
+RMD160 450d39f599024f0902b68d12c5255120d28cc3d7 files/digest-libedit-20061103-r1 250
+SHA256 e728639d59bc42c99887fa4d8ef36fb3eead6d5e33aad39bca885012568a7e09 files/digest-libedit-20061103-r1 250
--- /dev/null
+MD5 54f47c091e20563c3281684f4719a106 libedit-20061103.tar.bz2 97032
+RMD160 8c15895dedd69d979c8d911803246808c12ea198 libedit-20061103.tar.bz2 97032
+SHA256 11542988eeed1fbe23b8b421389dbd37fb0cedb1d7c76b49399163be27eacf3f libedit-20061103.tar.bz2 97032
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/libedit-20061103-r1.ebuild,v 1.1 2007/03/16 12:11:41 uberlord Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="BSD replacement for libreadline"
+HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="elibc_glibc"
+
+DEPEND="sys-libs/ncurses
+ !<=sys-freebs/freebsd-lib-6.2_rc1"
+
+S=${WORKDIR}/netbsd-cvs
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-20061103-debian-to-gentoo.patch
+
+ if use elibc_glibc; then
+ mv "${WORKDIR}"/glibc-*/*.c .
+ epatch "${FILESDIR}/${P}-glibc.patch"
+ fi
+
+ # FreeBSD's __weak_reference macro differs from NetBSD's
+ epatch "${FILESDIR}/${P}-freebsd.patch"
+}
+
+src_compile() {
+ emake -j1 .depend || die "depend"
+ emake || die "make"
+}
+
+src_install() {
+ into /
+ dolib.so libedit.so || die "dolib.so"
+ into /usr
+ dolib.a libedit.a || die "dolib.a"
+ insinto /usr/include
+ doins histedit.h || die "doins histedit.h"
+ insinto /usr/include/libedit
+ doins readline/readline.h || die "doins readline.h"
+ doman *.[35]
+
+ gen_usr_ldscript libedit.so
+}