summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-02-10 06:12:03 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-02-10 06:12:03 +0000
commit0101bc3cd0882aab0c91cb343257818c0426d8e1 (patch)
treea6abef94cd990dfe1d64fbf9339e7914fc59a20d /app-backup/bacula/bacula-2.4.1-r1.ebuild
parentMarked ppc stable for bug #303835. (diff)
downloadgentoo-2-0101bc3cd0882aab0c91cb343257818c0426d8e1.tar.gz
gentoo-2-0101bc3cd0882aab0c91cb343257818c0426d8e1.tar.bz2
gentoo-2-0101bc3cd0882aab0c91cb343257818c0426d8e1.zip
Make conditional so we don't die w/ USE="-wxwidgets" when wxGTK
was built with USE="-X". (Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-backup/bacula/bacula-2.4.1-r1.ebuild')
-rw-r--r--app-backup/bacula/bacula-2.4.1-r1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-backup/bacula/bacula-2.4.1-r1.ebuild b/app-backup/bacula/bacula-2.4.1-r1.ebuild
index ad0d2e545a1d..a668cd861fed 100644
--- a/app-backup/bacula/bacula-2.4.1-r1.ebuild
+++ b/app-backup/bacula/bacula-2.4.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-2.4.1-r1.ebuild,v 1.10 2010/02/10 01:24:19 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-2.4.1-r1.ebuild,v 1.11 2010/02/10 06:12:03 dirtyepic Exp $
#
# TODO:
@@ -23,7 +23,6 @@
#
EAPI="1"
-WX_GTK_VER=2.6
inherit eutils wxwidgets
IUSE="bacula-clientonly bacula-console bacula-nodir bacula-nosd doc gnome ipv6 logrotate logwatch mysql postgres python qt4 readline sqlite sqlite3 ssl static tcpd wxwidgets X"
@@ -194,6 +193,10 @@ src_compile() {
eerror "the qt4 USE flag to disable building 'bat'."
die "incompatible slotted qwt version found"
fi
+ if useq wxwidgets; then
+ WX_GTK_VER=2.6
+ need-wxwidgets ansi
+ fi
myconf="${myconf} \
$(use_with X x) \
$(use_enable gnome) \