diff options
-rw-r--r-- | net-www/lynx/ChangeLog | 11 | ||||
-rw-r--r-- | net-www/lynx/files/digest-lynx-2.8.4a-r4 | 1 | ||||
-rw-r--r-- | net-www/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch | 8 | ||||
-rw-r--r-- | net-www/lynx/lynx-2.8.4a-r4.ebuild | 61 |
4 files changed, 80 insertions, 1 deletions
diff --git a/net-www/lynx/ChangeLog b/net-www/lynx/ChangeLog index d60f40be6279..1d1dc072b21b 100644 --- a/net-www/lynx/ChangeLog +++ b/net-www/lynx/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-www/lynx # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-www/lynx/ChangeLog,v 1.4 2002/05/29 23:24:18 prez Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/lynx/ChangeLog,v 1.5 2002/06/02 21:11:17 mkennedy Exp $ + +*lynx-2.8.4a-r4 (2 June 2002) + + 2 June 2002; Matthew Kennedy <mkennedy@gentoo.org> + lynx-2.8.4a-r4.ebuild, files/digest-lynx-2.8.4a-r4, + files/lynx-2.8.4a-LYStrings.c-gentoo.patch, ChangeLog : + + Patch for GCC3.1 support. Some users report success with -r3, some + don't. *lynx-2.8.4a-r3 (29 May 2002) diff --git a/net-www/lynx/files/digest-lynx-2.8.4a-r4 b/net-www/lynx/files/digest-lynx-2.8.4a-r4 new file mode 100644 index 000000000000..691a54fa5b52 --- /dev/null +++ b/net-www/lynx/files/digest-lynx-2.8.4a-r4 @@ -0,0 +1 @@ +MD5 6916c0127839f1e454052b683e4691c4 lynx2.8.4.tar.bz2 1940531 diff --git a/net-www/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch b/net-www/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch new file mode 100644 index 000000000000..563fb881b97a --- /dev/null +++ b/net-www/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch @@ -0,0 +1,8 @@ +--- LYStrings.c Wed May 29 14:41:43 2002 ++++ LYStrings.c~ Wed May 29 14:41:21 2002 +@@ -1,3 +1,4 @@ ++#include <term.h> + #include <HTUtils.h> + #include <HTCJK.h> + #include <UCAux.h> + diff --git a/net-www/lynx/lynx-2.8.4a-r4.ebuild b/net-www/lynx/lynx-2.8.4a-r4.ebuild new file mode 100644 index 000000000000..f172c302bf6e --- /dev/null +++ b/net-www/lynx/lynx-2.8.4a-r4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-www/lynx/lynx-2.8.4a-r4.ebuild,v 1.1 2002/06/02 21:11:17 mkennedy Exp $ + +S=${WORKDIR}/lynx2-8-4 +HOMEPAGE="http://lynx.browser.org/" +SRC_URI="ftp://lynx.isc.org/lynx2.8.4/lynx2.8.4.tar.bz2" + +DESCRIPTION="An excellent console-based web browser with ssl support" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.1 + >=sys-libs/zlib-1.1.3 + nls? ( sys-devel/gettext ) + ssl? ( >= dev-libs/openssl-0.9.6 )" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 < ${FILESDIR}/lynx2.8.4rel.1a.patch || die + + # GCC3.1 support -- check if it's really needed in + # future. Some users report complete success with -r3 -- + # credit to lostlogix and carpaski. Resolves #3172 + cd src + patch LYStrings.c < ${FILESDIR}/lynx-2.8.4a-LYStrings.c-gentoo.patch || die +} + +src_compile() { + local myconf + use nls && myconf="${myconf} --enable-nls" + use ssl && myconf="${myconf} --with-ssl=yes" + use ipv6 && myconf="${myconf} --enable-ipv6" + + CFLAGS="${CFLAGS} -DANSI_VARARGS" + + ./configure --prefix=/usr --mandir=/usr/share/man --datadir=/usr/share \ + --libdir=/etc/lynx --enable-cgi-links --enable-prettysrc \ + --enable-nsl-fork --enable-file-upload --enable-read-eta \ + --enable-libjs --enable-color-style --enable-scrollbar \ + --enable-included-msgs --with-zlib --host=${CHOST} ${myconf} + assert + + emake || die "compile problem" +} + +src_install() { + make prefix=${D}/usr datadir=${D}/usr/share mandir=${D}/usr/share/man \ + libdir=${D}/etc/lynx install || die + + dodoc CHANGES COPYHEADER COPYING INSTALLATION PROBLEMS README + docinto docs + dodoc docs/* + docinto lynx_help + dodoc lynx_help/*.txt + dohtml -r lynx_help + + # small little manpage glitch + rm ${D}/usr/share/man/lynx.1 + newman lynx.man lynx.1 +} |