diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-05-18 15:59:07 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-05-18 15:59:07 +0000 |
commit | 24538f49eff8aedddff8de8fb1518d08a54436b2 (patch) | |
tree | 224f09dfdd67f6a8da14747758800696abdcbbb8 /www-client | |
parent | Use multilib (bug #319861). (diff) | |
download | gentoo-2-24538f49eff8aedddff8de8fb1518d08a54436b2.tar.gz gentoo-2-24538f49eff8aedddff8de8fb1518d08a54436b2.tar.bz2 gentoo-2-24538f49eff8aedddff8de8fb1518d08a54436b2.zip |
Fix libdir in opera script too.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/opera/files/opera | 2 | ||||
-rw-r--r-- | www-client/opera/opera-10.53_pre6330-r1.ebuild | 11 | ||||
-rw-r--r-- | www-client/opera/opera-10.54_pre6336-r1.ebuild | 11 |
4 files changed, 22 insertions, 8 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index be1c9ae0da0b..208cc66692ac 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/opera # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.475 2010/05/18 15:49:15 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.476 2010/05/18 15:59:07 jer Exp $ + + 18 May 2010; Jeroen Roovers <jer@gentoo.org> + opera-10.53_pre6330-r1.ebuild, opera-10.54_pre6336-r1.ebuild, files/opera: + Fix libdir in opera script too. *opera-10.54_pre6336-r1 (18 May 2010) *opera-10.53_pre6330-r1 (18 May 2010) diff --git a/www-client/opera/files/opera b/www-client/opera/files/opera index 902f28635df2..2292801aa17b 100644 --- a/www-client/opera/files/opera +++ b/www-client/opera/files/opera @@ -1,4 +1,4 @@ #!/bin/bash export OPERA_DIR=/usr/share/opera export OPERA_PERSONALDIR="${HOME}/.opera" -exec /usr/lib/opera/opera "$@" +exec OPERA_LIBDIR/opera/opera "$@" diff --git a/www-client/opera/opera-10.53_pre6330-r1.ebuild b/www-client/opera/opera-10.53_pre6330-r1.ebuild index eaafb426ad52..cafcb923f17a 100644 --- a/www-client/opera/opera-10.53_pre6330-r1.ebuild +++ b/www-client/opera/opera-10.53_pre6330-r1.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.53_pre6330-r1.ebuild,v 1.1 2010/05/18 15:49:15 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.53_pre6330-r1.ebuild,v 1.2 2010/05/18 15:59:07 jer Exp $ EAPI="2" @@ -132,8 +132,13 @@ src_install() { "${D}"/usr/share/applications/opera-browser.desktop \ "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed" - # Install startup script - dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed" + # Sed libdir in opera script + sed "${FILESDIR}"/opera \ + -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \ + || die "sed opera script failed" + + # Install startup scripts + dobin ${PN} ${PN}-widget-manager || die "dobin failed" # Stop revdep-rebuild from checking opera binaries dodir /etc/revdep-rebuild diff --git a/www-client/opera/opera-10.54_pre6336-r1.ebuild b/www-client/opera/opera-10.54_pre6336-r1.ebuild index 42e25f49b847..76fc4bcff719 100644 --- a/www-client/opera/opera-10.54_pre6336-r1.ebuild +++ b/www-client/opera/opera-10.54_pre6336-r1.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.54_pre6336-r1.ebuild,v 1.1 2010/05/18 15:49:15 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.54_pre6336-r1.ebuild,v 1.2 2010/05/18 15:59:07 jer Exp $ EAPI="2" @@ -132,8 +132,13 @@ src_install() { "${D}"/usr/share/applications/opera-browser.desktop \ "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed" - # Install startup script - dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed" + # Sed libdir in opera script + sed "${FILESDIR}"/opera \ + -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \ + || die "sed opera script failed" + + # Install startup scripts + dobin ${PN} ${PN}-widget-manager || die "dobin failed" # Stop revdep-rebuild from checking opera binaries dodir /etc/revdep-rebuild |