summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-11-23 22:47:56 +0000
committerMike Gilbert <floppym@gentoo.org>2011-11-23 22:47:56 +0000
commitf4324e3e28c257ed406f6f6364c338f432a39ad9 (patch)
tree69d7f444cd7d03fa3f582757ffdf24a5caaf35d2 /dev-lang
parentVersion bump. Update to EAPI 4 and apply patch by Arfrever to fix python issu... (diff)
downloadgentoo-2-f4324e3e28c257ed406f6f6364c338f432a39ad9.tar.gz
gentoo-2-f4324e3e28c257ed406f6f6364c338f432a39ad9.tar.bz2
gentoo-2-f4324e3e28c257ed406f6f6364c338f432a39ad9.zip
Consolidate loops in pkg_preinst.
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/v8/ChangeLog6
-rw-r--r--dev-lang/v8/v8-3.7.7.ebuild11
-rw-r--r--dev-lang/v8/v8-9999.ebuild11
3 files changed, 11 insertions, 17 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog
index 61baa10140bc..bbb6e1ba6a66 100644
--- a/dev-lang/v8/ChangeLog
+++ b/dev-lang/v8/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/v8
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.113 2011/11/23 22:28:41 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.114 2011/11/23 22:47:56 floppym Exp $
+
+ 23 Nov 2011; Mike Gilbert <floppym@gentoo.org> v8-3.7.7.ebuild,
+ v8-9999.ebuild:
+ Consolidate loops in pkg_preinst.
23 Nov 2011; Mike Gilbert <floppym@gentoo.org> v8-3.7.7.ebuild,
v8-9999.ebuild:
diff --git a/dev-lang/v8/v8-3.7.7.ebuild b/dev-lang/v8/v8-3.7.7.ebuild
index 76610de78300..ac4cb6a406d7 100644
--- a/dev-lang/v8/v8-3.7.7.ebuild
+++ b/dev-lang/v8/v8-3.7.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.7.7.ebuild,v 1.4 2011/11/23 22:28:41 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.7.7.ebuild,v 1.5 2011/11/23 22:47:56 floppym Exp $
EAPI="4"
@@ -98,13 +98,8 @@ pkg_preinst() {
eshopts_push -s nullglob
- for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname); do
- baselib=${candidate##*/}
- if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
- preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
- fi
- done
- for candidate in "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
+ for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname) \
+ "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
baselib=${candidate##*/}
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
diff --git a/dev-lang/v8/v8-9999.ebuild b/dev-lang/v8/v8-9999.ebuild
index 6e9bfb5b8c02..4286088c2372 100644
--- a/dev-lang/v8/v8-9999.ebuild
+++ b/dev-lang/v8/v8-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.23 2011/11/23 22:28:41 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.24 2011/11/23 22:47:56 floppym Exp $
EAPI="4"
@@ -105,13 +105,8 @@ pkg_preinst() {
eshopts_push -s nullglob
- for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname); do
- baselib=${candidate##*/}
- if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
- preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
- fi
- done
- for candidate in "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
+ for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname) \
+ "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
baselib=${candidate##*/}
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )