diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-23 13:28:15 -0800 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-23 13:28:15 -0800 |
commit | 3fa3126a0ecd9b3127115f95e114759d12e16a84 (patch) | |
tree | 77d4cba2f02ed2f1f3e7573a445f637a2b90cbaa | |
parent | dev-cpp/atkmm: multilib-utize (diff) | |
download | gmt-3fa3126a0ecd9b3127115f95e114759d12e16a84.tar.gz gmt-3fa3126a0ecd9b3127115f95e114759d12e16a84.tar.bz2 gmt-3fa3126a0ecd9b3127115f95e114759d12e16a84.zip |
sys-libs/readline: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
-rw-r--r-- | sys-libs/readline/ChangeLog | 701 | ||||
-rw-r--r-- | sys-libs/readline/Manifest | 12 | ||||
-rw-r--r-- | sys-libs/readline/files/readline-5.0-no_rpath.patch | 13 | ||||
-rw-r--r-- | sys-libs/readline/files/readline-5.2-no-ignore-shlib-errors.patch | 24 | ||||
-rw-r--r-- | sys-libs/readline/files/readline-6.2-rlfe-tgoto.patch | 14 | ||||
-rw-r--r-- | sys-libs/readline/metadata.xml | 5 | ||||
-rw-r--r-- | sys-libs/readline/readline-6.2_p5-r2.ebuild | 153 |
7 files changed, 922 insertions, 0 deletions
diff --git a/sys-libs/readline/ChangeLog b/sys-libs/readline/ChangeLog new file mode 100644 index 0000000..0143570 --- /dev/null +++ b/sys-libs/readline/ChangeLog @@ -0,0 +1,701 @@ +# ChangeLog for sys-libs/readline +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.192 2014/01/20 06:34:37 vapier Exp $ + + 20 Jan 2014; Mike Frysinger <vapier@gentoo.org> readline-6.2_p5-r1.ebuild: + Depend on virtual/pkgconfig for ncurses needs #498586 by palme3000. + + 18 Jan 2014; Mike Frysinger <vapier@gentoo.org> readline-6.2_p1.ebuild, + readline-6.2_p5-r1.ebuild: + Add arm64 love. + + 07 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -readline-6.1.ebuild, + -readline-6.1_p2.ebuild, -readline-6.2.ebuild, -readline-6.2_p1-r1.ebuild, + -readline-6.2_p4.ebuild, -readline-6.2_p5.ebuild, + -files/readline-6.1-rlfe-freebsd.patch: + Removed old versions and files. + + 30 Dec 2013; Mike Frysinger <vapier@gentoo.org> readline-6.2_p5-r1.ebuild: + tweak rlfe sed a bit #457558 + + 30 Dec 2013; Alexis Ballier <aballier@gentoo.org> readline-6.2_p5-r1.ebuild: + update blocker on emul-linux + + 29 Dec 2013; Mike Frysinger <vapier@gentoo.org> readline-6.2_p5-r1.ebuild: + Update rlfe helper to use ncurses info via pkg-config #457558 by Travis + Hansen. + +*readline-6.2_p5-r1 (27 Dec 2013) + + 27 Dec 2013; Michał Górny <mgorny@gentoo.org> +readline-6.2_p5-r1.ebuild: + Add multilib support, bug #496006. + + 25 Dec 2013; Mike Frysinger <vapier@gentoo.org> readline-6.2_p5.ebuild: + update dodoc line + +*readline-6.2_p5 (25 Dec 2013) + + 25 Dec 2013; Mike Frysinger <vapier@gentoo.org> + +files/readline-6.2-rlfe-tgoto.patch, +readline-6.2_p5.ebuild: + Version bump. Fix tgoto test in rlfe example #385091 by Agostino Sarubbo. + Use pkg-config to get ncurses linking info #457558 by Travis Hansen. Export + AR ourselves to use a better default #484866 by Agostino Sarubbo. + + 17 Feb 2013; Zac Medico <zmedico@gentoo.org> readline-6.2_p4.ebuild: + Add ~arm-linux keyword. + +*readline-6.2_p4 (03 Jan 2013) + + 03 Jan 2013; Mike Frysinger <vapier@gentoo.org> +readline-6.2_p4.ebuild: + Version bump #449810 by Lars Wendler. + + 30 Apr 2012; Mike Frysinger <vapier@gentoo.org> readline-6.2_p1-r1.ebuild: + Create a config.cache with first configure and re-use it with the rlfe subdir + for a slight speedup. + + 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> readline-6.2_p1-r1.ebuild: + keyword ~amd64-fbsd + + 14 Apr 2012; Zac Medico <zmedico@gentoo.org> readline-6.2_p1-r1.ebuild: + Add ~amd64-linux and ~x86-linux keywords. + + 28 Mar 2012; Mike Frysinger <vapier@gentoo.org> readline-6.2_p1.ebuild: + Drop ancient bash depend in stable ebuild too. + +*readline-6.2_p1-r1 (10 Mar 2012) + + 10 Mar 2012; Mike Frysinger <vapier@gentoo.org> +readline-6.2_p1-r1.ebuild: + Add USE=static-libs support #378299 by Agostino Sarubbo. + + 06 Jan 2012; Mark Loeser <halcy0n@gentoo.org> readline-6.2_p1.ebuild: + Stable for ppc64; bug #384463 + + 23 Oct 2011; nixnut <nixnut@gentoo.org> readline-6.2_p1.ebuild: + ppc stable #384463 + + 12 Oct 2011; Raúl Porcel <armin76@gentoo.org> readline-6.2_p1.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #384463 + + 09 Oct 2011; Jeroen Roovers <jer@gentoo.org> readline-6.2_p1.ebuild: + Stable for HPPA (bug #384463). + + 08 Oct 2011; Markus Meier <maekke@gentoo.org> readline-6.2_p1.ebuild: + arm stable, bug #384463 + + 01 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> readline-6.2_p1.ebuild: + x86 stable wrt bug #384463 + + 26 Sep 2011; Tony Vroon <chainsaw@gentoo.org> readline-6.2_p1.ebuild: + Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & + Elijah "Armageddon" El Lazkani in bug #384463. + + 26 Sep 2011; Mike Frysinger <vapier@gentoo.org> readline-6.1.ebuild, + readline-6.1_p2.ebuild, readline-6.2.ebuild, readline-6.2_p1.ebuild: + Drop unused autotools include #384463#1 by Agostino Sarubbo. + +*readline-6.2_p1 (01 Mar 2011) + + 01 Mar 2011; Mike Frysinger <vapier@gentoo.org> +readline-6.2_p1.ebuild: + Version bump. + + 01 Mar 2011; Brent Baude <ranger@gentoo.org> readline-6.1_p2.ebuild: + stable ppc64, bug 354939 + + 26 Feb 2011; Raúl Porcel <armin76@gentoo.org> readline-6.1_p2.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #354939 + + 22 Feb 2011; nixnut <nixnut@gentoo.org> readline-6.1_p2.ebuild: + ppc stable #354939 + + 21 Feb 2011; Jeroen Roovers <jer@gentoo.org> readline-6.1_p2.ebuild: + Stable for HPPA (bug #354939). + + 20 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + readline-6.1_p2.ebuild: + x86 stable wrt bug #354939 + + 16 Feb 2011; Markos Chandras <hwoarang@gentoo.org> readline-6.1_p2.ebuild: + Stable on amd64 wrt bug #354939 + +*readline-6.2 (15 Feb 2011) + + 15 Feb 2011; Mike Frysinger <vapier@gentoo.org> +readline-6.2.ebuild: + Version bump. + + 09 May 2010; Raúl Porcel <armin76@gentoo.org> readline-6.1.ebuild: + alpha stable wrt #310819 + + 09 Apr 2010; Markos Chandras <hwoarang@gentoo.org> readline-6.1.ebuild: + Stable on amd64 wrt bug #310819 + + 07 Apr 2010; Mike Frysinger <vapier@gentoo.org> readline-6.1.ebuild: + Mark arm/ia64/s390/sh stable #310819. + + 01 Apr 2010; Jeroen Roovers <jer@gentoo.org> readline-6.1.ebuild: + Stable for HPPA (bug #310819). + + 30 Mar 2010; Christian Faulhammer <fauli@gentoo.org> readline-6.1.ebuild: + stable x86, bug 310819 + + 27 Mar 2010; Tiago Cunha <tcunha@gentoo.org> readline-6.1.ebuild: + stable sparc, bug 310819 + + 24 Mar 2010; Javier Villavicencio <the_paya@gentoo.org> + readline-6.1_p2.ebuild, +files/readline-6.1-rlfe-freebsd.patch: + Fix for bug 301508, rlfe build on FreeBSD. + + 23 Mar 2010; Brent Baude <ranger@gentoo.org> readline-6.1.ebuild: + stable ppc, bug 310819 + + 23 Mar 2010; Brent Baude <ranger@gentoo.org> readline-6.1.ebuild: + Marking readline-6.1 ppc64 for bug 310819 + +*readline-6.1_p2 (23 Mar 2010) + + 23 Mar 2010; Mike Frysinger <vapier@gentoo.org> +readline-6.1_p2.ebuild: + Version bump. + + 12 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> + readline-6.0_p4.ebuild, readline-6.1.ebuild: + Fix license from GPL-2 to GPL-3 wrt #308829 by Thomas Kahle. + + 24 Jan 2010; Tobias Klausmann <klausman@gentoo.org> + readline-6.0_p4.ebuild: + Stable on alpha, bug #297906 + + 06 Jan 2010; Markus Meier <maekke@gentoo.org> readline-6.0_p4.ebuild: + amd64 stable, bug #297906 + +*readline-6.1 (05 Jan 2010) + + 05 Jan 2010; Mike Frysinger <vapier@gentoo.org> +readline-6.1.ebuild: + Version bump. + + 05 Jan 2010; Mike Frysinger <vapier@gentoo.org> readline-5.2_p14.ebuild: + Stabilize old ABI SLOT version. + + 29 Dec 2009; Christian Faulhammer <fauli@gentoo.org> + readline-6.0_p4.ebuild: + stable x86, bug 297906 + + 28 Dec 2009; nixnut <nixnut@gentoo.org> readline-6.0_p4.ebuild: + ppc stable #297906 + + 28 Dec 2009; Tiago Cunha <tcunha@gentoo.org> readline-6.0_p4.ebuild: + stable sparc, bug 297906 + + 26 Dec 2009; Brent Baude <ranger@gentoo.org> readline-6.0_p4.ebuild: + Marking readline-6.0_p4 ppc64 for bug 297906 + + 24 Dec 2009; Jeroen Roovers <jer@gentoo.org> readline-6.0_p4.ebuild: + Stable for HPPA (bug #297906). + + 05 Oct 2009; Raúl Porcel <armin76@gentoo.org> readline-6.0_p3.ebuild: + ia64/m68k/s390/sh/sparc stable wrt #283155 + +*readline-5.2_p14 (03 Oct 2009) + + 03 Oct 2009; Mike Frysinger <vapier@gentoo.org> +readline-5.2_p14.ebuild: + New version for .5 SONAME only. + + 30 Sep 2009; Mike Frysinger <vapier@gentoo.org> readline-6.0_p4.ebuild: + Restore readline symlink to find local headers. + + 27 Sep 2009; Mike Frysinger <vapier@gentoo.org> readline-6.0_p4.ebuild: + Link rlfe dynamically against readline #284568 by Jonathan Callen. + + 19 Sep 2009; nixnut <nixnut@gentoo.org> readline-6.0_p3.ebuild: + ppc stable #283155 + + 13 Sep 2009; Markus Meier <maekke@gentoo.org> readline-6.0_p3.ebuild: + arm stable, bug #283155 + + 09 Sep 2009; Markus Meier <maekke@gentoo.org> readline-6.0_p3.ebuild: + amd64/x86 stable, bug #283155 + + 07 Sep 2009; Tobias Klausmann <klausman@gentoo.org> + readline-6.0_p3.ebuild: + Stable on alpha, bug #283155 + + 07 Sep 2009; Tobias Klausmann <klausman@gentoo.org> + readline-6.0_p3.ebuild: + Stable on alpha, bug #283155 + + 07 Sep 2009; Jeroen Roovers <jer@gentoo.org> readline-6.0_p3.ebuild: + Stable for HPPA (bug #283155). + + 31 Aug 2009; Brent Baude <ranger@gentoo.org> readline-6.0_p3.ebuild: + stable ppc64, bug 283155 + +*readline-6.0_p4 (29 Aug 2009) + + 29 Aug 2009; Mike Frysinger <vapier@gentoo.org> +readline-6.0_p4.ebuild: + Version bump #283138 by Arfrever Frehtes Taifersar Arahesis. + + 18 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> + readline-6.0_p3.ebuild: + Fix build on Gentoo/FreeBSD by removing references do objformat. + +*readline-6.0_p3 (17 May 2009) + + 17 May 2009; Mike Frysinger <vapier@gentoo.org> +readline-6.0_p3.ebuild: + Version bump #270170 by Lars Wendler. + + 24 Feb 2009; Joshua Kinard <kumba@gentoo.org> readline-6.0.ebuild: + Skip the rlfe bits if doing cross-compiling. + +*readline-4.3_p5 (23 Feb 2009) + + 23 Feb 2009; Mike Frysinger <vapier@gentoo.org> +readline-4.3_p5.ebuild: + Add a readline-4.x ebuild for the ABI lib only. + +*readline-6.0 (21 Feb 2009) + + 21 Feb 2009; Mike Frysinger <vapier@gentoo.org> + +files/readline-6.0-rlfe-build.patch, +readline-6.0.ebuild: + Version bump #259830 by Lars (Polynomial-C). + + 21 Feb 2009; Ferris McCormick <fmccor@gentoo.org> readline-5.2_p13.ebuild: + Sparc really stable this time --- Bug #255707. + + 15 Feb 2009; Brent Baude <ranger@gentoo.org> readline-5.2_p13.ebuild: + stable ppc, bug 255707 + + 07 Feb 2009; Raúl Porcel <armin76@gentoo.org> readline-5.2_p13.ebuild: + arm/ia64/s390/sh/sparc stable wrt #255707 + + 26 Jan 2009; Tobias Klausmann <klausman@gentoo.org> + readline-5.2_p13.ebuild: + Stable on alpha, bug #255707 + + 24 Jan 2009; Jeroen Roovers <jer@gentoo.org> readline-5.2_p13.ebuild: + Stable for HPPA (bug #255707). + + 24 Jan 2009; Markus Meier <maekke@gentoo.org> readline-5.2_p13.ebuild: + amd64/x86 stable, bug #255707 + + 23 Jan 2009; Brent Baude <ranger@gentoo.org> readline-5.2_p13.ebuild: + stable ppc64, bug 255707 + +*readline-5.2_p13 (23 Nov 2008) + + 23 Nov 2008; Mike Frysinger <vapier@gentoo.org> +readline-5.2_p13.ebuild: + Version bump #247646 by Lars (Polynomial-C). + + 08 Apr 2008; Mike Frysinger <vapier@gentoo.org> + +files/readline-5.2-no-ignore-shlib-errors.patch, + readline-5.2_p12-r1.ebuild: + Dont ignore errors in the shlib subdir #216952 by Markus Ullmann. + + 26 Feb 2008; Santiago M. Mola <coldwind@gentoo.org> + readline-5.2_p12-r1.ebuild: + amd64 stable wrt bug #211332 + + 26 Feb 2008; Brent Baude <ranger@gentoo.org> readline-5.2_p12-r1.ebuild: + stable ppc, bug 211332 + + 26 Feb 2008; Brent Baude <ranger@gentoo.org> readline-5.2_p12-r1.ebuild: + stable ppc64, bug 211332 + + 25 Feb 2008; Jeroen Roovers <jer@gentoo.org> readline-5.2_p12-r1.ebuild: + Stable for HPPA (bug #211332). + + 07 Feb 2008; Raúl Porcel <armin76@gentoo.org> readline-5.2_p12-r1.ebuild: + alpha/ia64/sparc/x86 stable + +*readline-5.2_p12-r1 (02 Jan 2008) + + 02 Jan 2008; Mike Frysinger <vapier@gentoo.org> + +readline-5.2_p12-r1.ebuild: + Make sure we continue to always link against ncurses as reported by welp. + +*readline-5.2_p12 (02 Jan 2008) + + 02 Jan 2008; Mike Frysinger <vapier@gentoo.org> +readline-5.2_p12.ebuild: + Version bump. + + 29 Sep 2007; Jeroen Roovers <jer@gentoo.org> readline-5.2_p7.ebuild: + Stable for HPPA (bug #194013). + + 28 Sep 2007; nixnut <nixnut@gentoo.org> readline-5.2_p7.ebuild: + Stable on ppc wrt bug 194013 + + 28 Sep 2007; Raúl Porcel <armin76@gentoo.org> readline-5.2_p7.ebuild: + alpha/ia64/x86 stable wrt #194013 + + 28 Sep 2007; Ferris McCormick <fmccor@gentoo.org> readline-5.2_p7.ebuild: + Sparc stable --- Bug #194013 + + 28 Sep 2007; Christoph Mende <angelos@gentoo.org> readline-5.2_p7.ebuild: + Stable on amd64 wrt bug #194013 + + 28 Sep 2007; Joshua Kinard <kumba@gentoo.org> readline-5.2_p7.ebuild: + Stable on mips, per #194013. + + 27 Sep 2007; Brent Baude <ranger@gentoo.org> readline-5.2_p7.ebuild: + Marking readline-5.2_p7 ppc64 for 194013 + +*readline-5.2_p7 (24 Aug 2007) + + 24 Aug 2007; Mike Frysinger <vapier@gentoo.org> +readline-5.2_p7.ebuild: + Version bump. + + 30 Jul 2007; Markus Rothe <corsair@gentoo.org> readline-5.2_p4.ebuild: + Stable on ppc64; bug #186286 + + 25 Jul 2007; Jeroen Roovers <jer@gentoo.org> readline-5.2_p4.ebuild: + Stable for HPPA (bug #186286). + + 24 Jul 2007; Steve Dibb <beandog@gentoo.org> readline-5.2_p4.ebuild: + amd64 stable, bug 186286 + + 23 Jul 2007; Raúl Porcel <armin76@gentoo.org> readline-5.2_p4.ebuild: + alpha stable wrt #186286 + + 23 Jul 2007; nixnut <nixnut@gentoo.org> readline-5.2_p4.ebuild: + Stable on ppc wrt bug 186286 + + 23 Jul 2007; Joshua Kinard <kumba@gentoo.org> readline-5.2_p4.ebuild: + Stable on mips, per #186286. + + 23 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> + readline-5.2_p4.ebuild: + Stable on sparc wrt #186286 + + 30 Jun 2007; Raúl Porcel <armin76@gentoo.org> readline-5.2_p4.ebuild: + ia64/x86 stable + + 12 May 2007; Joshua Kinard <kumba@gentoo.org> readline-5.2_p2.ebuild: + Stable on mips. + +*readline-5.2_p4 (02 May 2007) + + 02 May 2007; Mike Frysinger <vapier@gentoo.org> +readline-5.2_p4.ebuild: + Version bump. + + 24 Apr 2007; Raúl Porcel <armin76@gentoo.org> readline-5.2_p2.ebuild: + ia64 + x86 stable + +*readline-5.2_p2 (22 Mar 2007) + + 22 Mar 2007; Mike Frysinger <vapier@gentoo.org> +readline-5.2_p2.ebuild: + Version bump. + + 13 Jan 2007; Mike Frysinger <vapier@gentoo.org> readline-4.3-r5.ebuild, + readline-5.0-r2.ebuild, readline-5.1_p4.ebuild, readline-5.2.ebuild, + readline-5.2_p1.ebuild: + Switch to using preserve_old_lib(). + + 04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> readline-4.3-r5.ebuild: + Remove gnuconfig usage. + +*readline-5.2_p1 (16 Dec 2006) + + 16 Dec 2006; Mike Frysinger <vapier@gentoo.org> +readline-5.2_p1.ebuild: + Version bump. + + 17 Oct 2006; Roy Marples <uberlord@gentoo.org> readline-5.1_p4.ebuild, + readline-5.2.ebuild: + Added ~sparc-fbsd keyword. + + 13 Oct 2006; Mike Frysinger <vapier@gentoo.org> + +files/readline-5.2-rlfe-build.patch, readline-5.2.ebuild: + Link against the local readline #151174 by Javier Armendariz. + + 13 Oct 2006; Roy Marples <uberlord@gentoo.org> + +files/readline-5.1-fbsd-pic.patch, readline-5.1_p4.ebuild, + readline-5.2.ebuild: + Always build with -fPIC on FreeBSD. + +*readline-5.2 (12 Oct 2006) + + 12 Oct 2006; Mike Frysinger <vapier@gentoo.org> +readline-5.2.ebuild: + Version bump. + + 19 Aug 2006; Fabian Groffen <grobian@gentoo.org> readline-5.1_p4.ebuild: + Marked ppc-macos stable for progressive users (bug #129885) + + 27 Apr 2006; Alec Warner <antarus@gentoo.org> + files/digest-readline-4.3-r5, files/digest-readline-4.3-r6, + files/digest-readline-5.0-r2, Manifest: + Fixing SHA256 digest, pass four + + 29 Apr 2006; Joshua Kinard <kumba@gentoo.org> readline-5.1_p4.ebuild: + Marked stable on mips. + + 18 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org> + readline-5.1_p4.ebuild: + Stable on sparc wrt #129885 + + 17 Apr 2006; Markus Rothe <corsair@gentoo.org> readline-5.1_p4.ebuild: + Stable on ppc64; bug #129885 + + 16 Apr 2006; Bryan Østergaard <kloeri@gentoo.org readline-5.1_p4.ebuild: + Stable on alpha, bug 129885. + + 15 Apr 2006; Marcus D. Hanwell <cryos@gentoo.org> readline-5.1_p4.ebuild: + Marked stable on amd64, bug 129885. + + 15 Apr 2006; <nixnut@gentoo.org> readline-5.1_p4.ebuild: + Stable on ppc. Bug #129885 + + 15 Apr 2006; Mark Loeser <halcy0n@gentoo.org> readline-5.1_p4.ebuild: + Stable on x86; bug #129885 + + 30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> readline-5.1_p4.ebuild: + Add ~x86-fbsd keyword. + +*readline-5.1_p4 (21 Mar 2006) + + 21 Mar 2006; Mike Frysinger <vapier@gentoo.org> +readline-5.1_p4.ebuild: + Version bump. + +*readline-5.1_p2 (17 Mar 2006) + + 17 Mar 2006; Mike Frysinger <vapier@gentoo.org> +readline-5.1_p3.ebuild: + Version bump. + + 09 Feb 2006; Mike Frysinger <vapier@gentoo.org> + files/readline-5.1-rlfe-uclibc.patch: + Make sys/stropts.h a proper configure check/include and pull in more headers + to silence warnings #117060 by Benigno B. Junior. + +*readline-5.1_p2 (04 Feb 2006) + + 04 Feb 2006; Mike Frysinger <vapier@gentoo.org> +readline-5.1_p2.ebuild: + Version bump. + + 05 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/readline-5.1-rlfe-libutil.patch, readline-5.1-r2.ebuild: + Add patch to complete rlfe linking when openpty() is in libutil. + + 27 Dec 2005; Joel Martin <kanaka@gentoo.org> readline-5.1-r2.ebuild: + Cross-compile fix was partially backed out, put it back in. + + 24 Dec 2005; <solar@gentoo.org> +files/readline-5.1-rlfe-uclibc.patch, + readline-5.1-r2.ebuild: + - uclibc does not contain a stropts.h so we exclude it from rlfe + + 24 Dec 2005; Mike Frysinger <vapier@gentoo.org> + +files/readline-5.1-rlfe-build.patch, readline-5.1-r2.ebuild: + Make sure rlfe builds against the local version of readline #116483. + + 23 Dec 2005; Joel Martin <kanaka@gentoo.org> readline-5.1-r2.ebuild: + rlfe does not cross-compile, don't build it when cross-compiling + + 22 Dec 2005; Mike Frysinger <vapier@gentoo.org> + -files/readline-5.1-callback-segv.patch, readline-5.1-r2.ebuild: + Update to use the official readline patch. + +*readline-5.1-r2 (21 Dec 2005) + + 21 Dec 2005; Aron Griffis <agriffis@gentoo.org> +readline-5.1-r2.ebuild: + Install rlfe from the examples directory + +*readline-5.1-r1 (20 Dec 2005) + + 20 Dec 2005; Mike Frysinger <vapier@gentoo.org> + +files/readline-5.1-callback-segv.patch, + +files/readline-5.1-cleanups.patch, +readline-5.1-r1.ebuild: + Grab patch from SuSe for segfault #115326 by Seemant Kulleen. + +*readline-5.1 (10 Dec 2005) + + 10 Dec 2005; Mike Frysinger <vapier@gentoo.org> +readline-5.1.ebuild: + Version bump. + + 10 Sep 2005; Kito <kito@gentoo.org> readline-5.0-r2.ebuild: + ~ppc-macos keyword. Keep shlibs in /usr/lib and skip gen_usr_ldscript on + Darwin userland. + + 16 Jul 2005; Mike Frysinger <vapier@gentoo.org> + +files/readline-5.0-darwin.patch, readline-5.0-r2.ebuild: + Fix support for Darwin8. Patch by Kito #99143. + + 27 Jun 2005; Aron Griffis <agriffis@gentoo.org> + +files/readline-5.0-parallel.patch, readline-5.0-r2.ebuild: + Fix parallel build + + 09 Jun 2005; Mike Frysinger <vapier@gentoo.org> readline-5.0-r2.ebuild: + Stabilize for all arches. + + 14 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> readline-4.3-r6.ebuild: + macos went away + +*readline-5.0-r2 (12 Feb 2005) + + 12 Feb 2005; Mike Frysinger <vapier@gentoo.org> + +files/readline-5.0-del-backspace-policy.patch, + +files/readline-5.0-no_rpath.patch, +files/readline-5.0-self-insert.patch, + +files/readline-5.0-solaris.patch, +readline-5.0-r2.ebuild: + Add some patches from Debian/Fedora fixing #74807 by Ivan Todoroski in the + process. + + 11 Feb 2005; Mike Frysinger <vapier@gentoo.org> +files/5.0-solaris.patch, + readline-5.0-r1.ebuild: + Add patch by Sunil to fix solaris linking #81058. + + 03 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 24 Nov 2004; Mike Frysinger <vapier@gentoo.org> readline-5.0-r1.ebuild: + Force ncurses linking #71420. + + 30 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> readline-4.3-r5.ebuild: + Stable on sparc + +*readline-5.0-r1 (29 Sep 2004) + + 29 Sep 2004; Mike Frysinger <vapier@gentoo.org> + +files/bash-3.0-etc-inputrc.patch, +readline-5.0-r1.ebuild: + Add more patches from upstream and add support for /etc/inputrc #38955. + + 29 Sep 2004; Lina Pezzella <j4rg0n@gentoo.org> readline-4.3-r6.ebuild: + Fixed collisions with history(3) on macos. + + 02 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> readline-5.0.ebuild: + get_libdir fixups for backwards compatibility with readline-4. + + 26 Aug 2004; Travis Tilley <lv@gentoo.org> readline-4.3-r5.ebuild, + readline-4.3-r6.ebuild, readline-5.0.ebuild: + readline failed to install correctly when lib64 was a directory, CONF_LIBDIR + wasnt set, and when using portage 2.0.50. to fix this i've converted the + ebuilds to using the new get_libdir function, set + --libdir=/usr/$(get_libdir), and changed einstall to make DESTDIR=${D} + install (since the version in 2.0.50 doesnt set libdir, breaking sandbox) + + 24 Aug 2004; Sven Wegener <swegener@gentoo.org> readline-4.1-r5.ebuild, + readline-4.3-r4.ebuild, readline-4.3-r5.ebuild, readline-4.3-r6.ebuild, + readline-5.0.ebuild: + Changed SRC_URI to use mirror:// syntax. Don't assign default to S and added + missing IUSE. + + 14 Aug 2004; Travis Tilley <lv@gentoo.org> readline-4.3-r5.ebuild, + readline-4.3-r6.ebuild, readline-5.0.ebuild: + added CONF_LIBDIR support and changed make install to einstall to avoid a + sandbox violation that occurs when CONF_LIBDIR is set + +*readline-5.0 (28 Jul 2004) + + 28 Jul 2004; Mike Frysinger <vapier@gentoo.org> readline-4.3-r4.ebuild, + readline-4.3-r5.ebuild, readline-4.3-r6.ebuild, +readline-5.0.ebuild: + Version bump #58648. Also add in support for upgrading from previous + incompatible versions #29865. + + 02 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + readline-4.1-r5.ebuild, readline-4.2a-r1.ebuild, readline-4.2a-r2.ebuild: + virtual/glibc -> virtual/libc + + 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> readline-4.3-r5.ebuild: + Stable on alpha. + + 21 Mar 2004; Joshua Kinard <kumba@gentoo.org> readline-4.3-r5.ebuild: + Added gnuconfig support for mips + + 21 Feb 2004; Brad House <brad_mssw@gentoo.org> readline-4.3-r5.ebuild: + stable on amd64 for 2004.0 release + +*readline-4.3-r5 (28 Sep 2003) + + 28 Sep 2003; Martin Schlemmer <azarah@gentoo.org> readline-4.3-r5.ebuild: + Update to use official patches, which also have the multi-byte stuff. + + 17 Sep 2003; Jon Portnoy <avenj@gentoo.org> readline-4.3-r4.ebuild : + ia64 keywords. + + 24 Jun 2003; Aron Griffis <agriffis@gentoo.org> readline-4.3-r4.ebuild: + Mark stable on alpha + + 15 Mar 2003; Martin Schlemmer <azarah@gentoo.org> readline-4.3-r4.ebuild : + Remove /lib/*.old files, closing bug #16731. Mark stable for x86. + + 13 Mar 2003; Olivier Reisch <doctomoe@gentoo.org> readline-4.2a-r2.ebuild: + Marked ppc stable. + +*readline-4.2a-r2 (13 Mar 2003) + + 13 Mar 2003; Seemant Kulleen <seemant@gentoo.org> readline-4.2a-r2.ebuild: + force upgrade to install the proper header + + 20 Feb 2003; Zach Welch <zwelch@gentoo.org> readline-4.3-r4.ebuild : + Added arm to keywords. + + 07 Feb 2003; Guy Martin <gmsoft@gentoo.org> readline-4.3-r4.ebuild : + Added hppa to keywords. + + 12 Dec 2002; Jan Seidel <tuxus@gentoo.org> readline-4.2a-r1.ebuild : + + Added mips to keywords. + +*readline-4.3-r4 (09 Dec 2002) + + 28 Mar 2003; Christian Birchinger <joker@gentoo.org> readline-4.3-r4.ebuild: + Added sparc stable keyword + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> readline-4.3-r4.ebuild : + Marked as stable for mips. + + 09 Dec 2002; Jon Portnoy <avenj@gentoo.org> readline-4.3-r4.ebuild : + + Added a patch from upstream maintainer to fix bug: + + http://bugs.gentoo.org/show_bug.cgi?id=11762 + + (Python segfaults when using latin-1 chars in interactive mode) + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*readline-4.1-r5 (26 Oct 2002) +*readline-4.2a-r1 (26 Oct 2002) + + 05 Mar 2003; Seemant Kulleen <seemant@gentoo.org> readline-4.2a-r1.ebuild: + fixed a problem with a broken include in the tilde.h file + +*readline-4.3-r3 (26 Oct 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> readline-4.3-r3.ebuild : + Marked as stable for mips. + + 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org> readline*.ebuild : + Add linker scripts in /usr/lib to fix bug #4411. + +*readline-4.3-r2 (20 Oct 2002) + + 20 Oct 2002; Martin Schlemmer <azarah@gentoo.org> readline-4.3-r2.ebuild : + Add some official patches. + +*readline-4.3-r1 (1 Sep 2002) + + 1 Sep 2002; Martin Schlemmer <azarah@gentoo.org> readline-4.3-r1.ebuild : + Depend on bash that always link against internal readline, else bash + may break on readline update. + +*readline-4.3 (30 Aug 2002) + + 30 Aug 2002; Mark Guertin <gerk@gentoo.org> readline-4.3.ebuild : + set -ppc, inplace upgrade completely broke system + + 30 Aug 2002; Seemant Kulleen <seemant@gentoo.org> readline-4.3.ebuild + files/digest-readline-4.3 : + + Version bump -- required by bash-2.05b (USE dependent, of course) + +*readline-4.1-r4 (21 Mar 2002) + + 15 Jul 2002; Mark Guertin <gerk@gentoo.org> + Added ppc to keywords + + 21 Mar 2002; Seemant Kulleen <seemant@gentoo.org> readline-4.1-r4.ebuild : + + stefan@mdy.univie.ac.at discovered that html documentation was getting + gzipped. This fixes that. + +*readline-4.1-r3 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest new file mode 100644 index 0000000..4968308 --- /dev/null +++ b/sys-libs/readline/Manifest @@ -0,0 +1,12 @@ +AUX readline-5.0-no_rpath.patch 363 SHA256 59df6107772d1a93550bacc267a2c00f9dfd6d5380b8497d8fd756a7191b9e4b SHA512 c0344c5b831433ad3a8499a91d36615e849a9b520f8ca35cd9cae6d5bc55729adbf97d003e335d210cb3806b2f39af273b4b5f98380dac371dc184053e245bb2 WHIRLPOOL c0d2fe9d1d1f36cf89279f315c373a7385d255ebbeab8ebf1ede7b99196660611499c7db85554b036ad3df4f0b4375558b1d1ce7cbae5f5731172181f7d167ac +AUX readline-5.2-no-ignore-shlib-errors.patch 688 SHA256 2c585c4e2d69d6b91157f378a3dd11cb49beefab808eef3350cf1b8357b2efc6 SHA512 23f88aee11a9ebe15406293695f3de2a7a6c52b8b138c199c64f9dbb9b59d9063f12f8693656e61611e72f6298f7d919016cd240434e78ea2232876690a8b738 WHIRLPOOL ae87d544fa32dbd2b6f27f164dd4e6d0e8a3f399d4a9bde81bcb631985c6e69db11705dc372c21a4f9d3a26cf4279023aeae97fd0d243ca8e1c0e547b59084a4 +AUX readline-6.2-rlfe-tgoto.patch 379 SHA256 6bd5db93cba1cdf751b424a25a1f08c87bae2b42ff59c6c0aa34d659115cbfc1 SHA512 1d2c3aafc949d92fdf6abbee60a60c80f0327f81694d5d8f3a166f1c24d37346caca3e72c9971106b96b2758a9a01269346954fe20bc381eb9da2e6a2737fc3c WHIRLPOOL daab79312136fa728ea77839d6ad663554055e2acd7acff036b8d168f4a0791d57503aa196be4f834caf32ba72ec73c3125adb9b11b5d6898bb796016e83175a +DIST readline-6.2.tar.gz 2277926 SHA256 79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381 SHA512 fa5b4f1b6f81bc0b3be0739adb06dab0668603ff256fe62b59ebfe21d5a9e340a758a8eef569df8c4c4ecb86cdd9698a6dabc2ee8c70a769de2bd5930c32ff59 WHIRLPOOL 5d92645085f253206c16533e3cb35bb382d6fe616bf2144feb06f9ffb9b4d7cc25ceaa846b98f17aa442552a0e80642a62d57fe20982e0ed8fdefb75c2f9bbf0 +DIST readline62-001 1388 SHA256 38a86c417437692db01069c8ab40a9a8f548e67ad9af0390221b024b1c39b4e3 SHA512 e505161a9ab28f6c1086a6a4ecc5a82da9001d79e4c2b7c44cd82e86dca90bc726ee2387a31e8b4c6893b240877a766fdd913ee7294389722214e6281c518478 WHIRLPOOL 28c63b09a62fa1b64902b04a3c5607da742f7f308648262736240138fa7c957f21856556c8dd2dc08749acf143c271907c69124a978191a5ddb21a6dcf9ee70a +DIST readline62-002 1714 SHA256 1e6349128cb573172063ea007c67af79256889c809973002ca66c5dfc503c7d4 SHA512 e86cb15b4df7b2a4cf68148a3e2414b48f70ad23d9685764627906164a74f31967ba8247510229aa19dfb7f6e8e92ff89164896e79b2d7320d3a62187a9173f5 WHIRLPOOL 444fa6eaa6b3e13728224f49a012f969f736d9b448d4c7da6cf0fdd3cfb33d24ca7566801d0ffa5a642fa581571c485e3c913b4a057a096a665735a84d9fbfe8 +DIST readline62-003 1911 SHA256 cb2131ff352d6e5f82edc09755191f74220b15f026bdb6c52624931c79622374 SHA512 863a4f0725df357fdd4a2ea738a8b81d850f36652705a45a415762a643fcf32f71ecb29f9faf9acd84d0b4b67580329adc491ab3562f0ad6f4b808768539301e WHIRLPOOL 86d10b4c23eef4c64ece0a4537f13cf68198888cfdd83eb38124da8610b971e87dfcdbd64c52fd21ca6d3753298b6582ce15378112d575944ff7d9b68baea3a6 +DIST readline62-004 3335 SHA256 09bd342479ea5bb8b6411bfdf7d302fab2e521d1d241bcb8344d3bad5d9f5476 SHA512 d5c80fb49748b586867a4df0900a73257a2973653c00e1403b9ba4eb5b265cdf6b32b6432f10c23482051f173fe63c18f2b569940b9a609ee29da60ce0ae38b2 WHIRLPOOL 471ace4d86d241d11fb494e885b6e6f78a5938bcbd7f438250e0410849ed2c94ae6743162576412d7d2b7125c2151b009d97295578a716327d8a9cd003543884 +DIST readline62-005 2143 SHA256 ef02905e4d544a5a511142e8b8282e325411200c7eaca4287f413f3ea85cc1f4 SHA512 8717df6034b64cc185e006cd0a00ba80b2cc06406420fb4e080affc4bfe2d4bab07b4d0c8fdd1f5b95692ee6b572199731daeaa64c17a0d799853e132d130e90 WHIRLPOOL 5469407cbc196bfffff890d288ac8dc1a11c34a9ac87baba615587617a3e540331cf54db89de861c8fcc126a443afc91af108d9e94f6234ec80c1ade219b51a0 +EBUILD readline-6.2_p5-r2.ebuild 4048 SHA256 550cf644d984f89d009b9fbaa500592776ef263b21779952045affa46b7db6b5 SHA512 76a01b8566762664e1631108b97992f8b23712578ef3335f4c5145606ddae839c72f315af9eb2e7cf6390db1d3b1de05cdb79cee6a229b6b34a5ce1a3c4397d8 WHIRLPOOL 26bd69c57ec7369351cae6f1659218e74ef2e98bb3d4b71bfb0ddc7d532f86f9c188ab7da62be6567fc56361cdab7f8217636b39bc773dfe69786f15f48e511f +MISC ChangeLog 24672 SHA256 3a638b0f27be3ba1cc7df7434d29b2fc336d0ef4bf2fa117955f6c75694ea1fa SHA512 4f09a12de8373414fdbbb7c9869477ca6b918317a03e6958fbaa5682f41e406ebe4323e3cfd07112fb311025088aa8ff84d7c740dd4a7772331da4f725fe6577 WHIRLPOOL 344654051ed21383c2edb0e4e084554b30563e414cdc4f641ee1cd2eefd6c4501efee3d509576d24d493639ae98451a058a2fa9b767e75b1e86188a4de292f1f +MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52 diff --git a/sys-libs/readline/files/readline-5.0-no_rpath.patch b/sys-libs/readline/files/readline-5.0-no_rpath.patch new file mode 100644 index 0000000..624b2d7 --- /dev/null +++ b/sys-libs/readline/files/readline-5.0-no_rpath.patch @@ -0,0 +1,13 @@ +ripped from Fedora + +--- support/shobj-conf ++++ support/shobj-conf +@@ -102,7 +102,7 @@ + SHOBJ_LD='${CC}' + SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' + +- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`' ++ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`' + SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' + ;; + diff --git a/sys-libs/readline/files/readline-5.2-no-ignore-shlib-errors.patch b/sys-libs/readline/files/readline-5.2-no-ignore-shlib-errors.patch new file mode 100644 index 0000000..fc63491 --- /dev/null +++ b/sys-libs/readline/files/readline-5.2-no-ignore-shlib-errors.patch @@ -0,0 +1,24 @@ +dont ignore errors in the shlib subdir + +http://bugs.gentoo.org/216952 + +--- Makefile.in ++++ Makefile.in +@@ -194,7 +194,7 @@ + + shared: force + -test -d shlib || mkdir shlib +- -( cd shlib ; ${MAKE} ${MFLAGS} all ) ++ ( cd shlib ; ${MAKE} ${MFLAGS} all ) + + documentation: force + -test -d doc || mkdir doc +@@ -238,7 +238,7 @@ + -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall ) + + install-shared: installdirs install-headers shared install-doc +- -( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install ) ++ ( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install ) + + uninstall-shared: maybe-uninstall-headers + -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall ) diff --git a/sys-libs/readline/files/readline-6.2-rlfe-tgoto.patch b/sys-libs/readline/files/readline-6.2-rlfe-tgoto.patch new file mode 100644 index 0000000..b898bf0 --- /dev/null +++ b/sys-libs/readline/files/readline-6.2-rlfe-tgoto.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/385091 + +https://lists.gnu.org/archive/html/bug-readline/2011-10/msg00000.html + +--- a/examples/rlfe/configure ++++ b/examples/rlfe/configure +@@ -4062,6 +4062,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + ++extern char *tgoto(char *, int, int); + main() + { + exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1); diff --git a/sys-libs/readline/metadata.xml b/sys-libs/readline/metadata.xml new file mode 100644 index 0000000..96a2d58 --- /dev/null +++ b/sys-libs/readline/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/sys-libs/readline/readline-6.2_p5-r2.ebuild b/sys-libs/readline/readline-6.2_p5-r2.ebuild new file mode 100644 index 0000000..d470143 --- /dev/null +++ b/sys-libs/readline/readline-6.2_p5-r2.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit eutils multilib toolchain-funcs flag-o-matic multilib-minimal + +# Official patches +# See ftp://ftp.cwru.edu/pub/bash/readline-6.2-patches/ +PLEVEL=${PV##*_p} +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +[[ ${PV} != *_p* ]] && PLEVEL=0 +patches() { + [[ ${PLEVEL} -eq 0 ]] && return 1 + local opt=$1 + eval set -- {1..${PLEVEL}} + set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@") + if [[ ${opt} == -s ]] ; then + echo "${@/#/${DISTDIR}/}" + else + local u + for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do + printf "${u}/${PN}-${MY_PV}-patches/%s " "$@" + done + fi +} + +DESCRIPTION="Another cute console display library" +HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches)" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND=">=sys-libs/ncurses-5.2-r2[${MULTILIB_USEDEP}] + abi_x86_32? ( + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + !<=app-emulation/emul-linux-x86-baselibs-20131008-r7 + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${MY_P}.tar.gz +} + +src_prepare() { + [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s) + epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch + epatch "${FILESDIR}"/${PN}-5.2-no-ignore-shlib-errors.patch #216952 + epatch "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091 + + # Force ncurses linking. #71420 + # Use pkg-config to get the right values. #457558 + local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs) + sed -i \ + -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \ + support/shobj-conf || die + sed -i \ + -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \ + examples/rlfe/configure || die + + # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated + # objformat for years, so we don't want to rely on that. + sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die + + ln -s ../.. examples/rlfe/readline # for local readline headers +} + +src_configure() { + # fix implicit decls with widechar funcs + append-cppflags -D_GNU_SOURCE + # http://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html + append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free + + # Make sure configure picks a better ar than `ar`. #484866 + export ac_cv_prog_AR=$(tc-getAR) + + # Force the test since we used sed above to force it. + export bash_cv_termcap_lib=ncurses + + # This is for rlfe, but we need to make sure LDFLAGS doesn't change + # so we can re-use the config cache file between the two. + append-ldflags -L. + + multilib-minimal_src_configure +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --cache-file="${BUILD_DIR}"/config.cache \ + --with-curses \ + $(use_enable static-libs static) + + if multilib_build_binaries && ! tc-is-cross-compiler ; then + # code is full of AC_TRY_RUN() + mkdir -p examples/rlfe || die + cd examples/rlfe || die + ECONF_SOURCE=${S}/examples/rlfe \ + econf --cache-file="${BUILD_DIR}"/config.cache + fi +} + +multilib_src_compile() { + emake + + if multilib_build_binaries && ! tc-is-cross-compiler ; then + # code is full of AC_TRY_RUN() + cd examples/rlfe || die + local l + for l in readline history ; do + ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) + ln -sf ../../lib${l}.a lib${l}.a + done + emake + fi +} + +multilib_src_install() { + default + + if multilib_build_binaries ; then + gen_usr_ldscript -a readline history #4411 + + if ! tc-is-cross-compiler; then + dobin examples/rlfe/rlfe + fi + fi +} + +multilib_src_install_all() { + einstalldocs + dodoc USAGE + dohtml -r doc/. + docinto ps + dodoc doc/*.ps +} + +pkg_preinst() { + preserve_old_lib /$(get_libdir)/lib{history,readline}.so.{4,5} #29865 +} + +pkg_postinst() { + preserve_old_lib_notify /$(get_libdir)/lib{history,readline}.so.{4,5} +} |