diff options
author | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2011-03-15 05:54:49 +0000 |
---|---|---|
committer | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2011-03-15 05:54:49 +0000 |
commit | a698cc30aa30fae3d7e9add19c102ec1e88fae0f (patch) | |
tree | 510cc7a19db2ec6690f1e4f73dd71a9c2497d575 /www-client/lynx/lynx-2.8.8_pre5.ebuild | |
parent | Fix depedencies to use virtual/jpeg and media-libs/libpng:0 (diff) | |
download | gentoo-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/lynx/lynx-2.8.8_pre5.ebuild')
-rw-r--r-- | www-client/lynx/lynx-2.8.8_pre5.ebuild | 23 |
1 files changed, 8 insertions, 15 deletions
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" |