summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-09-05 14:11:00 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-09-05 14:11:00 +0000
commit6fec0cdaaba2d763fe499e049e7748b7ee1ded1c (patch)
treea984e656fc08ae2672a48a9bce861fa0cc795526 /eclass/gnatbuild.eclass
parentStable on amd64 wrt security bug #189412 (diff)
downloadgentoo-2-6fec0cdaaba2d763fe499e049e7748b7ee1ded1c.tar.gz
gentoo-2-6fec0cdaaba2d763fe499e049e7748b7ee1ded1c.tar.bz2
gentoo-2-6fec0cdaaba2d763fe499e049e7748b7ee1ded1c.zip
multilib-strict fix. Fixes #187045
Diffstat (limited to 'eclass/gnatbuild.eclass')
-rw-r--r--eclass/gnatbuild.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass
index 2591d4799c27..b32ba092bef2 100644
--- a/eclass/gnatbuild.eclass
+++ b/eclass/gnatbuild.eclass
@@ -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/eclass/gnatbuild.eclass,v 1.32 2007/07/11 21:28:08 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.33 2007/09/05 14:11:00 george Exp $
#
# Author: George Shapovalov <george@gentoo.org>
# Belongs to: ada herd <ada@gentoo.org>
@@ -81,7 +81,7 @@ BOOT_SLOT=${SLOT}
# set our install locations
PREFIX=${GNATBUILD_PREFIX:-/usr} # not sure we need this hook, but may be..
-LIBPATH=${PREFIX}/lib/${PN}/${CTARGET}/${SLOT}
+LIBPATH=${PREFIX}/$(get_libdir)/${PN}/${CTARGET}/${SLOT}
LIBEXECPATH=${PREFIX}/libexec/${PN}/${CTARGET}/${SLOT}
INCLUDEPATH=${LIBPATH}/include
BINPATH=${PREFIX}/${CTARGET}/${PN}-bin/${SLOT}