diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-05-29 00:44:40 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-05-29 00:44:40 +0000 |
commit | e1363cdd286288222dbacc47550168befaaccb27 (patch) | |
tree | 501fe1b0d1520ccc7b9ff40bb93074c07726548d /www-client | |
parent | Use absolute symlink for libudev to avoid problems like bug 511020. (diff) | |
download | gentoo-2-e1363cdd286288222dbacc47550168befaaccb27.tar.gz gentoo-2-e1363cdd286288222dbacc47550168befaaccb27.tar.bz2 gentoo-2-e1363cdd286288222dbacc47550168befaaccb27.zip |
Use absolute symlink for libudev to avoid problems like bug 511020.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/google-chrome-unstable/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/google-chrome-unstable/google-chrome-unstable-37.0.2017.2_p1.ebuild | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/www-client/google-chrome-unstable/ChangeLog b/www-client/google-chrome-unstable/ChangeLog index a47fee89fc41..c3a433c87831 100644 --- a/www-client/google-chrome-unstable/ChangeLog +++ b/www-client/google-chrome-unstable/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/google-chrome-unstable # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/ChangeLog,v 1.32 2014/05/28 22:46:13 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/ChangeLog,v 1.33 2014/05/29 00:44:40 floppym Exp $ + + 29 May 2014; Mike Gilbert <floppym@gentoo.org> + google-chrome-unstable-37.0.2017.2_p1.ebuild: + Use absolute symlink for libudev to avoid problems like bug 511020. *google-chrome-unstable-37.0.2017.2_p1 (28 May 2014) diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2017.2_p1.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2017.2_p1.ebuild index 70d176bc1a61..66c765b9cad0 100644 --- a/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2017.2_p1.ebuild +++ b/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2017.2_p1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2017.2_p1.ebuild,v 1.1 2014/05/28 22:46:13 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome-unstable/google-chrome-unstable-37.0.2017.2_p1.ebuild,v 1.2 2014/05/29 00:44:40 floppym Exp $ EAPI="5" @@ -155,12 +155,11 @@ pkg_preinst() { } pkg_postinst() { - local lib libdir target + local lib libdir for libdir in {,usr/}$(get_libdir); do lib=${EROOT}${libdir}/libudev.so.1 if [[ -e ${lib} ]]; then - target=$(realpath -ms --relative-to="${EROOT}${CHROME_HOME}" "${lib}") - ln -fs "${target}" "${EROOT}${CHROME_HOME}/libudev.so.0" + ln -fs "${lib}" "${EROOT}${CHROME_HOME}/libudev.so.0" break fi done |