summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephanie J. Lockwood-Childs <wormo@gentoo.org>2011-03-15 05:54:49 +0000
committerStephanie J. Lockwood-Childs <wormo@gentoo.org>2011-03-15 05:54:49 +0000
commita698cc30aa30fae3d7e9add19c102ec1e88fae0f (patch)
tree510cc7a19db2ec6690f1e4f73dd71a9c2497d575 /www-client
parentFix depedencies to use virtual/jpeg and media-libs/libpng:0 (diff)
downloadgentoo-2-a698cc30aa30fae3d7e9add19c102ec1e88fae0f.tar.gz
gentoo-2-a698cc30aa30fae3d7e9add19c102ec1e88fae0f.tar.bz2
gentoo-2-a698cc30aa30fae3d7e9add19c102ec1e88fae0f.zip
Enable support for opening URLs in external programs, thanks to Anssi
(bug #358685) (Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/lynx/ChangeLog7
-rw-r--r--www-client/lynx/lynx-2.8.8_pre5.ebuild23
2 files changed, 14 insertions, 16 deletions
diff --git a/www-client/lynx/ChangeLog b/www-client/lynx/ChangeLog
index 0bad94ca3c32..3ddcda8a084d 100644
--- a/www-client/lynx/ChangeLog
+++ b/www-client/lynx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/lynx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.107 2011/03/07 14:00:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.108 2011/03/15 05:54:49 wormo Exp $
+
+ 15 Mar 2011; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ lynx-2.8.8_pre5.ebuild:
+ Enable support for opening URLs in external programs, thanks to Anssi
+ (bug #358685)
*lynx-2.8.7_p2 (07 Mar 2011)
diff --git a/www-client/lynx/lynx-2.8.8_pre5.ebuild b/www-client/lynx/lynx-2.8.8_pre5.ebuild
index 51bd8040b3f3..9052989e4b6d 100644
--- a/www-client/lynx/lynx-2.8.8_pre5.ebuild
+++ b/www-client/lynx/lynx-2.8.8_pre5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.8_pre5.ebuild,v 1.3 2011/01/31 16:56:47 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.8_pre5.ebuild,v 1.4 2011/03/15 05:54:49 wormo Exp $
EAPI=3
@@ -12,19 +12,11 @@ inherit eutils versionator
# pre. : _rc
# dev. : _pre
-if [[ "${PV/_p[0-9]}" != "${PV}" ]]
-then
- MY_P="${PN}${PV/_p/rel.}"
-
-elif [[ "${PV/_rc[0-9]}" != "${PV}" ]]
-then
- MY_P="${PN}${PV/_rc/pre.}"
-
-elif [[ "${PV/_pre[0-9]}" != "${PV}" ]]
-then
- MY_P="${PN}${PV/_pre/dev.}"
-
-fi
+case ${PV} in
+ *_pre*) MY_P="${PN}${PV/_pre/dev.}" ;;
+ *_rc*) MY_P="${PN}${PV/_rc/pre.}" ;;
+ *_p*|*) MY_P="${PN}${PV/_p/rel.}" ;;
+esac
DESCRIPTION="An excellent console-based web browser with ssl support"
HOMEPAGE="http://lynx.isc.org/"
@@ -103,6 +95,7 @@ src_configure() {
--enable-color-style \
--enable-scrollbar \
--enable-included-msgs \
+ --enable-externs \
--with-zlib \
$(use_enable nls) \
$(use_enable idn idna) \
@@ -114,7 +107,7 @@ src_configure() {
}
src_install() {
- make install DESTDIR="${D}" || die
+ emake install DESTDIR="${D}" || die
sed -i -e "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help_main.html|" \
"${ED}"/etc/lynx.cfg || die "lynx.cfg not found"