summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbie Hopkins <herbs@gentoo.org>2006-08-05 13:00:23 +0000
committerHerbie Hopkins <herbs@gentoo.org>2006-08-05 13:00:23 +0000
commit286b269ffc165b86a301672d99c46b835112bbf9 (patch)
treebb20439d33aac0656752862902fd1191d9d3f9f0 /sys-apps/baselayout/baselayout-1.12.4-r1.ebuild
parentAdded ~ppc, bug #142742 (diff)
downloadgentoo-2-286b269ffc165b86a301672d99c46b835112bbf9.tar.gz
gentoo-2-286b269ffc165b86a301672d99c46b835112bbf9.tar.bz2
gentoo-2-286b269ffc165b86a301672d99c46b835112bbf9.zip
Be consistant and usBe consistant and use same libdir for make and make install of baselyout utils.
(Portage version: 2.1.1_pre4-r3)
Diffstat (limited to 'sys-apps/baselayout/baselayout-1.12.4-r1.ebuild')
-rw-r--r--sys-apps/baselayout/baselayout-1.12.4-r1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/baselayout/baselayout-1.12.4-r1.ebuild b/sys-apps/baselayout/baselayout-1.12.4-r1.ebuild
index 35276d76b6e7..f8df82798a20 100644
--- a/sys-apps/baselayout/baselayout-1.12.4-r1.ebuild
+++ b/sys-apps/baselayout/baselayout-1.12.4-r1.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-apps/baselayout/baselayout-1.12.4-r1.ebuild,v 1.1 2006/08/04 13:46:55 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.12.4-r1.ebuild,v 1.2 2006/08/05 13:00:23 herbs Exp $
inherit flag-o-matic eutils toolchain-funcs multilib
@@ -383,8 +383,11 @@ src_install() {
#
# Install baselayout utilities
#
+ local libdir="lib"
+ [[ ${SYMLINK_LIB} == "yes" ]] && libdir=$(get_abi_LIBDIR "${DEFAULT_ABI}")
+
cd "${S}"/src
- make DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die
+ make DESTDIR="${D}" LIBDIR="${libdir}" install || die
# Hack to fix bug 9849, continued in pkg_postinst
unkdir