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
commit3a0224a995010de113805f8e2453b08991761c99 (patch)
tree35e062332a9ea3f9bfc88a6f1371700f799e832c /sys-libs/libtermcap-compat
parentupdate manifest (diff)
downloadgentoo-2-3a0224a995010de113805f8e2453b08991761c99.tar.gz
gentoo-2-3a0224a995010de113805f8e2453b08991761c99.tar.bz2
gentoo-2-3a0224a995010de113805f8e2453b08991761c99.zip
fix installing on x86 #103105
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'sys-libs/libtermcap-compat')
-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}