summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-01-31 16:53:59 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-01-31 16:53:59 +0000
commitfa6a4222e8ada425c131d18b06e4b2287e3b8f25 (patch)
treee22827ae7a11993bf21e4e8348fdfccbf915c553 /www-client/elinks/elinks-0.12_pre5-r1.ebuild
parentold (diff)
downloadgentoo-2-fa6a4222e8ada425c131d18b06e4b2287e3b8f25.tar.gz
gentoo-2-fa6a4222e8ada425c131d18b06e4b2287e3b8f25.tar.bz2
gentoo-2-fa6a4222e8ada425c131d18b06e4b2287e3b8f25.zip
Port changes from Gentoo Prefix, use EPREFIX/ED, add KEYWORDS, convert to EAPI3. bug 352839
(Portage version: 2.1.9.35/cvs/Linux i686)
Diffstat (limited to 'www-client/elinks/elinks-0.12_pre5-r1.ebuild')
-rw-r--r--www-client/elinks/elinks-0.12_pre5-r1.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/www-client/elinks/elinks-0.12_pre5-r1.ebuild b/www-client/elinks/elinks-0.12_pre5-r1.ebuild
index d7610344c415..7bf84a30e860 100644
--- a/www-client/elinks/elinks-0.12_pre5-r1.ebuild
+++ b/www-client/elinks/elinks-0.12_pre5-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.12_pre5-r1.ebuild,v 1.7 2011/01/06 21:41:15 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.12_pre5-r1.ebuild,v 1.8 2011/01/31 16:53:59 darkside Exp $
-EAPI="2"
+EAPI="3"
inherit eutils autotools flag-o-matic
@@ -14,7 +14,7 @@ SRC_URI="http://elinks.or.cz/download/${MY_P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6 \
javascript lua +mouse nls nntp perl ruby samba ssl unicode X zlib"
RESTRICT="test"
@@ -71,13 +71,13 @@ src_configure() {
fi
if use ssl ; then
- myconf="${myconf} --with-openssl"
+ myconf="${myconf} --with-openssl=${EPREFIX}/usr"
else
myconf="${myconf} --without-openssl --without-gnutls"
fi
econf \
- --sysconfdir=/etc/elinks \
+ --sysconfdir="${EPREFIX}"/etc/elinks \
--enable-leds \
--enable-88-colors \
--enable-256-colors \
@@ -102,7 +102,7 @@ src_configure() {
$(use_enable finger) \
$(use_enable samba smb) \
$(use_enable mouse) \
- ${myconf} || die
+ ${myconf}
}
src_install() {
@@ -121,7 +121,7 @@ src_install() {
# Remove some conflicting files on OSX. The files provided by OSX 10.4
# are more or less the same. -- Fabian Groffen (2005-06-30)
- rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias
+ rm -f "${ED}"/usr/share/locale/locale.alias "${ED}"/usr/lib/charset.alias
}
pkg_postinst() {