From 83de51ce52ab157e80f913b8c8792d9dd49d1b4a Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 6 Aug 2005 02:57:26 +0000
Subject: make sure we inherit multilib and move the readline-4 upgrade to
 pkg_postinst() (Portage version: 2.0.51.22-r2)

---
 sys-libs/readline/readline-5.0-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'sys-libs/readline/readline-5.0-r2.ebuild')

diff --git a/sys-libs/readline/readline-5.0-r2.ebuild b/sys-libs/readline/readline-5.0-r2.ebuild
index 0f31b82344a3..7a11d850cd6d 100644
--- a/sys-libs/readline/readline-5.0-r2.ebuild
+++ b/sys-libs/readline/readline-5.0-r2.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.0-r2.ebuild,v 1.5 2005/07/16 04:16:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.0-r2.ebuild,v 1.6 2005/08/06 02:57:26 vapier Exp $
 
-inherit eutils gnuconfig
+inherit eutils multilib
 
 # Official patches
 PLEVEL="x001 x002 x003 x004 x005"
@@ -68,7 +68,9 @@ src_install() {
 	docinto ps
 	dodoc doc/*.ps
 	dohtml -r doc
+}
 
+pkg_preinst() {
 	# Backwards compatibility #29865
 	if [[ -e ${ROOT}/$(get_libdir)/libreadline.so.4 ]] ; then
 		cp -a "${ROOT}"/$(get_libdir)/libreadline.so.4* "${D}"/$(get_libdir)/
-- 
cgit v1.2.3-65-gdbad