summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2014-04-21 21:55:31 +0000
committerChristoph Junghans <ottxor@gentoo.org>2014-04-21 21:55:31 +0000
commitba0b2fc0cc6d8fb44746b28949c1ed270c8ed459 (patch)
tree16dbb5ea7fc10d97259bdfe8d521e31e25d81357 /eclass/wxwidgets.eclass
parentStable for amd64 wrt bug #504790 (diff)
downloadhistorical-ba0b2fc0cc6d8fb44746b28949c1ed270c8ed459.tar.gz
historical-ba0b2fc0cc6d8fb44746b28949c1ed270c8ed459.tar.bz2
historical-ba0b2fc0cc6d8fb44746b28949c1ed270c8ed459.zip
added prefix support (bug #401661)
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r--eclass/wxwidgets.eclass10
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index c5e6be4fea3d..aa8f920931fd 100644
--- a/eclass/wxwidgets.eclass
+++ b/eclass/wxwidgets.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.38 2013/12/30 08:25:35 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.39 2014/04/21 21:55:31 ottxor Exp $
# @ECLASS: wxwidgets.eclass
# @MAINTAINER:
@@ -59,7 +59,7 @@ inherit eutils multilib
# inheriting.
if [[ -z ${WX_CONFIG} ]]; then
if [[ -n ${WX_GTK_VER} ]]; then
- for wxtoolkit in gtk2 base; do
+ for wxtoolkit in mac gtk2 base; do
# newer versions don't have a seperate debug profile
for wxdebug in xxx release- debug-; do
wxconf="${wxtoolkit}-unicode-${wxdebug/xxx/}${WX_GTK_VER}"
@@ -109,7 +109,9 @@ need-wxwidgets() {
esac
# wxbase is provided by both gtk2 and base installations
- if has_version "x11-libs/wxGTK:${WX_GTK_VER}[X]"; then
+ if has_version "x11-libs/wxGTK:${WX_GTK_VER}[aqua]"; then
+ wxtoolkit="mac"
+ elif has_version "x11-libs/wxGTK:${WX_GTK_VER}[X]"; then
wxtoolkit="gtk2"
else
wxtoolkit="base"