summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbie Hopkins <herbs@gentoo.org>2005-05-25 15:19:16 +0000
committerHerbie Hopkins <herbs@gentoo.org>2005-05-25 15:19:16 +0000
commitb141531b226b4ebd9cfb731473fb90f8e6ec733f (patch)
treee1a2e42ba13795f0eb021bd5410fe60ddd17d5bd
parentMigrating dev-perl/Test-Simple to perl-core/Test-Simple (diff)
downloadgentoo-2-b141531b226b4ebd9cfb731473fb90f8e6ec733f.tar.gz
gentoo-2-b141531b226b4ebd9cfb731473fb90f8e6ec733f.tar.bz2
gentoo-2-b141531b226b4ebd9cfb731473fb90f8e6ec733f.zip
multilib fix
-rw-r--r--eclass/wxwidgets.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index d197df8aff66..afcd028051f5 100644
--- a/eclass/wxwidgets.eclass
+++ b/eclass/wxwidgets.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.9 2005/05/11 23:45:18 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.10 2005/05/25 15:19:16 herbs Exp $
#
# Author Rob Cakebread <pythonhead@gentoo.org>
@@ -19,6 +19,7 @@
# Arguments: (wxGTK 2.6) gtk-ansi gtk2-ansi unicode base-ansi base-unicode mac-ansi mac-unicode
# Note: Don't call this function directly from ebuilds
+inherit multilib
ECLASS=wxwidgets
INHERITED="$INHERITED $ECLASS"
@@ -58,7 +59,7 @@ set-wxconfig() {
debug-print-function $FUNCNAME $*
if [ "${WX_GTK_VER}" = "2.6" ] ; then
- wxconfig_prefix="/usr/lib/wx/config"
+ wxconfig_prefix="/usr/$(get_libdir)/wx/config"
wxconfig_name="${1}-release-${WX_GTK_VER}"
wxconfig="${wxconfig_prefix}/${wxconfig_name}"
wxconfig_debug_name="${1}-debug-${WX_GTK_VER}"