summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-06-21 16:48:39 +0000
committerJeroen Roovers <jer@gentoo.org>2012-06-21 16:48:39 +0000
commit3fdb3549cf8107fe0b9c592c16570e10dc36c5a5 (patch)
treebae0578cf0e66e9ed95054c2a27dc4d990775343 /www-client/opera
parentDebundle zlib wrt #422657 by Diego Elio Pettenò <flameeyes@gentoo.org>, rena... (diff)
downloadhistorical-3fdb3549cf8107fe0b9c592c16570e10dc36c5a5.tar.gz
historical-3fdb3549cf8107fe0b9c592c16570e10dc36c5a5.tar.bz2
historical-3fdb3549cf8107fe0b9c592c16570e10dc36c5a5.zip
Do not call get_libdir in global scope.
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'www-client/opera')
-rw-r--r--www-client/opera/ChangeLog5
-rw-r--r--www-client/opera/opera-12.00.1467-r1.ebuild11
2 files changed, 9 insertions, 7 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 97fd93bcfb37..133da1b09cd9 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/opera
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.724 2012/06/20 14:34:18 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.725 2012/06/21 16:47:04 jer Exp $
+
+ 21 Jun 2012; Jeroen Roovers <jer@gentoo.org> opera-12.00.1467-r1.ebuild:
+ Do not call get_libdir in global scope.
*opera-12.00.1467-r1 (20 Jun 2012)
diff --git a/www-client/opera/opera-12.00.1467-r1.ebuild b/www-client/opera/opera-12.00.1467-r1.ebuild
index e7cf4c2b5109..04d229aea5a8 100644
--- a/www-client/opera/opera-12.00.1467-r1.ebuild
+++ b/www-client/opera/opera-12.00.1467-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-12.00.1467-r1.ebuild,v 1.1 2012/06/20 14:34:18 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-12.00.1467-r1.ebuild,v 1.2 2012/06/21 16:47:04 jer Exp $
EAPI="4"
@@ -27,11 +27,6 @@ SRC_URI="
x86-fbsd? ( ${O_U}unix/${O_D}/${O_P}.i386.freebsd.tar.xz )
"
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
O_LINGUAS="
af ar az be bg bn cs da de el en-GB es-ES es-LA et fa fi fr fr-CA fy gd he
hi hr hu id it ja ka kk ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr
@@ -90,6 +85,10 @@ src_unpack() {
}
src_prepare() {
+ export OPREFIX="/usr/$(get_libdir)"
+ export QA_DT_HASH="${OPREFIX}/${PN}/.*"
+ export QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
+
local LNGDIR="share/${PN}/locale"
# Count linguas