summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-01-03 18:57:35 +0000
committerJeroen Roovers <jer@gentoo.org>2010-01-03 18:57:35 +0000
commit9e87767898b94bc3fad751a77e8f00bb5aa85ef1 (patch)
treeae20bc52aec01b273837ff9a257bff8feb5f8e90 /www-client/opera/opera-10.50_pre6177.ebuild
parentMarked ~hppa too. (diff)
downloadgentoo-2-9e87767898b94bc3fad751a77e8f00bb5aa85ef1.tar.gz
gentoo-2-9e87767898b94bc3fad751a77e8f00bb5aa85ef1.tar.bz2
gentoo-2-9e87767898b94bc3fad751a77e8f00bb5aa85ef1.zip
Patch the wrapper instead of relying on the user environment being up to date (bug #299444).
(Portage version: 2.2_rc61/cvs/Linux i686)
Diffstat (limited to 'www-client/opera/opera-10.50_pre6177.ebuild')
-rw-r--r--www-client/opera/opera-10.50_pre6177.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/www-client/opera/opera-10.50_pre6177.ebuild b/www-client/opera/opera-10.50_pre6177.ebuild
index 20c2816e7c51..f938d9dbbf2a 100644
--- a/www-client/opera/opera-10.50_pre6177.ebuild
+++ b/www-client/opera/opera-10.50_pre6177.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.50_pre6177.ebuild,v 1.1 2010/01/02 16:54:58 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.50_pre6177.ebuild,v 1.2 2010/01/03 18:57:35 jer Exp $
EAPI="2"
@@ -108,8 +108,9 @@ src_unpack() {
src_prepare() {
sed -i opera \
- -e 's|=usr/lib/opera|=/usr/lib/opera|g' || \
- die "sed opera script failed"
+ -e 's|=usr/lib/opera|=/usr/lib/opera|g' \
+ -e '6a\OPERA_DIR=/usr/share/opera' \
+ || die "sed opera script failed"
}
src_install() {
@@ -139,10 +140,6 @@ src_install() {
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
fi
- # Special for this build, otherwise opera won't find its files
- dodir /etc/env.d
- echo "OPERA_DIR=\"/usr/share/${PN}\"" >> "${D}"/etc/env.d/90opera
-
[[ -z MY_LINGUAS ]] || opera_linguas
}