summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-23 09:40:00 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-23 09:40:00 +0000
commitcddc506ba00e17278469f604702431699f4520fb (patch)
treef402e9fdbbae71c3725c06f024e16669f82159d1 /sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild
parentupdate manifest (diff)
downloadhistorical-cddc506ba00e17278469f604702431699f4520fb.tar.gz
historical-cddc506ba00e17278469f604702431699f4520fb.tar.bz2
historical-cddc506ba00e17278469f604702431699f4520fb.zip
fix installing on x86 #103105
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild')
-rw-r--r--sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild
index 645bcb0da531..e5e8627c9cf4 100644
--- a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild
+++ b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild,v 1.3 2006/09/21 03:10:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r2.ebuild,v 1.4 2006/09/23 09:40:00 vapier Exp $
# we only want this for binary-only packages, so we will only be installing
# the lib used at runtime; no headers and no files to link against
@@ -56,7 +56,9 @@ src_install() {
cd "${D}"
rm -r include || die
- mv lib $(get_libdir) || die
+ if [[ $(get_libdir) != "lib" ]] ; then
+ mv lib $(get_libdir) || die
+ fi
dosym libtermcap.so.${PV} /$(get_libdir)/libtermcap.so.2
cd $(get_libdir)
rm -f libtermcap.{a,so}