diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-02-12 05:24:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-02-12 05:24:36 +0000 |
commit | bbdb6c8b87061215e702335b48d62fa98ca601ab (patch) | |
tree | 88135deb147b4fba43bd40d883c52724833a4843 /sys-libs | |
parent | Always grab/unpack the linuxthreads tarball so the infopages can install righ... (diff) | |
download | historical-bbdb6c8b87061215e702335b48d62fa98ca601ab.tar.gz historical-bbdb6c8b87061215e702335b48d62fa98ca601ab.tar.bz2 historical-bbdb6c8b87061215e702335b48d62fa98ca601ab.zip |
old
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/readline/files/5.0-solaris.patch | 25 | ||||
-rw-r--r-- | sys-libs/readline/files/digest-readline-5.0-r1 | 6 | ||||
-rw-r--r-- | sys-libs/readline/readline-5.0-r1.ebuild | 78 |
3 files changed, 0 insertions, 109 deletions
diff --git a/sys-libs/readline/files/5.0-solaris.patch b/sys-libs/readline/files/5.0-solaris.patch deleted file mode 100644 index 927bac5c202b..000000000000 --- a/sys-libs/readline/files/5.0-solaris.patch +++ /dev/null @@ -1,25 +0,0 @@ -fixup solaris linker options - -http://bugs.gentoo.org/show_bug.cgi?id=81058 - ---- support/shobj-conf.orig -+++ support/shobj-conf -@@ -78,10 +78,14 @@ - sunos5*-*gcc*|solaris2*-*gcc*) - SHOBJ_CFLAGS=-fpic - SHOBJ_LD='${CC}' -- # This line works for the Solaris linker in /usr/ccs/bin/ld -- SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@' -- # This line works for the GNU ld --# SHOBJ_LDFLAGS='-shared -Wl,-h,$@' -+ ld_used=`gcc -print-prog-name=ld` -+ if ${ld_used} -V 2>&1 | grep -q GNU; then -+ # This line works for the GNU ld -+ SHOBJ_LDFLAGS='-shared -Wl,-h,$@' -+ else -+ # This line works for the Solaris linker in /usr/ccs/bin/ld -+ SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@' -+ fi - - # SHLIB_XLDFLAGS='-R $(libdir)' - SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' diff --git a/sys-libs/readline/files/digest-readline-5.0-r1 b/sys-libs/readline/files/digest-readline-5.0-r1 deleted file mode 100644 index c31a1344ce93..000000000000 --- a/sys-libs/readline/files/digest-readline-5.0-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 9a39d15f1ed592883f8c6671e8c13120 readline-5.0.tar.gz 1808946 -MD5 5b47ed61b6b8413746750127c70e843d readline50-001 1702 -MD5 9f803005e7e4c7d675146a9a805acbf1 readline50-002 1337 -MD5 05d59c91f80fa99ab177783229b0f769 readline50-003 3841 -MD5 aa1f6343e47f8e024488c63281d77809 readline50-004 2411 -MD5 1dc2654e0161f2e7b4f536b12e1d54b7 readline50-005 2216 diff --git a/sys-libs/readline/readline-5.0-r1.ebuild b/sys-libs/readline/readline-5.0-r1.ebuild deleted file mode 100644 index a73e6629f3d3..000000000000 --- a/sys-libs/readline/readline-5.0-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.0-r1.ebuild,v 1.10 2005/02/11 05:10:38 vapier Exp $ - -inherit eutils gnuconfig - -# Official patches -PLEVEL="x001 x002 x003 x004 x005" - -DESCRIPTION="Another cute console display library" -HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" -SRC_URI="mirror://gnu/readline/${P}.tar.gz - ${PLEVEL//x/mirror://gnu/${PN}/${PN}-${PV}-patches/${PN}${PV/\.}-}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -# We must be certain that we have a bash that is linked -# to its internal readline, else we may get problems. -RDEPEND=">=sys-libs/ncurses-5.2-r2" -DEPEND="${RDEPEND} - >=app-shells/bash-2.05b-r2" - -src_unpack() { - unpack ${P}.tar.gz - - cd ${S} - for x in ${PLEVEL//x} ; do - epatch ${DISTDIR}/${PN}${PV/\.}-${x} - done - epatch ${FILESDIR}/bash-3.0-etc-inputrc.patch - epatch ${FILESDIR}/${PV}-solaris.patch - - # force ncurses linking #71420 - sed -i -e 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf || die "sed" -} - -src_compile() { - # the --libdir= is needed because if lib64 is a directory, it will default - # to using that... even if CONF_LIBDIR isnt set or we're using a version - # of portage without CONF_LIBDIR support. - econf --with-curses --libdir=/usr/$(get_libdir) || die - emake || die -} - -src_install() { - # portage 2.0.50's einstall causes sandbox violations if lib64 is a - # directory, since readline's configure automatically sets libdir for you. - make DESTDIR="${D}" install || die - dodir /$(get_libdir) - mv ${D}/usr/$(get_libdir)/*.so* ${D}/$(get_libdir) - chmod a+rx ${D}/$(get_libdir)/*.so* - - # Bug #4411 - gen_usr_ldscript libreadline.so - gen_usr_ldscript libhistory.so - - dodoc CHANGELOG CHANGES README USAGE NEWS - docinto ps - dodoc doc/*.ps - dohtml -r doc - - # Backwards compatibility #29865 - if [ -e ${ROOT}/$(get_libdir)/libreadline.so.4 ] ; then - cp -a ${ROOT}/$(get_libdir)/libreadline.so.4* ${D}/$(get_libdir)/ - touch ${D}/$(get_libdir)/libreadline.so.4* - fi -} - -pkg_postinst() { - if [ -e ${ROOT}/$(get_libdir)/libreadline.so.4 ] ; then - ewarn "Your old readline libraries have been copied over." - ewarn "You should run 'revdep-rebuild --soname libreadline.so.4' asap." - ewarn "Once you have, you can safely delete /$(get_libdir)/libreadline.so.4*" - fi -} |