diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-03-16 12:11:41 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-03-16 12:11:41 +0000 |
commit | 2691921afbdaea1c09255650c66bbe2b5ecb52c2 (patch) | |
tree | 05b4e1e5c712c840d7fd56ddd0abb4fd626f58e6 /dev-libs | |
parent | idn requires iconv, which is in a separate library for non glibc systems. (diff) | |
download | gentoo-2-2691921afbdaea1c09255650c66bbe2b5ecb52c2.tar.gz gentoo-2-2691921afbdaea1c09255650c66bbe2b5ecb52c2.tar.bz2 gentoo-2-2691921afbdaea1c09255650c66bbe2b5ecb52c2.zip |
Bump fo fix #169515
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libedit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libedit/files/digest-libedit-20061103-r1 | 3 | ||||
-rw-r--r-- | dev-libs/libedit/libedit-20061103-r1.ebuild | 53 |
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-libs/libedit/ChangeLog b/dev-libs/libedit/ChangeLog index 8760f46477f3..917cd14132e7 100644 --- a/dev-libs/libedit/ChangeLog +++ b/dev-libs/libedit/ChangeLog @@ -1,6 +1,12 @@ # 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. diff --git a/dev-libs/libedit/files/digest-libedit-20061103-r1 b/dev-libs/libedit/files/digest-libedit-20061103-r1 new file mode 100644 index 000000000000..cc5a3bd4a954 --- /dev/null +++ b/dev-libs/libedit/files/digest-libedit-20061103-r1 @@ -0,0 +1,3 @@ +MD5 54f47c091e20563c3281684f4719a106 libedit-20061103.tar.bz2 97032 +RMD160 8c15895dedd69d979c8d911803246808c12ea198 libedit-20061103.tar.bz2 97032 +SHA256 11542988eeed1fbe23b8b421389dbd37fb0cedb1d7c76b49399163be27eacf3f libedit-20061103.tar.bz2 97032 diff --git a/dev-libs/libedit/libedit-20061103-r1.ebuild b/dev-libs/libedit/libedit-20061103-r1.ebuild new file mode 100644 index 000000000000..47e989aa60ec --- /dev/null +++ b/dev-libs/libedit/libedit-20061103-r1.ebuild @@ -0,0 +1,53 @@ +# 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 +} |