diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-06-24 00:20:49 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-06-24 00:20:49 +0000 |
commit | 0a59b0ebac2f759cd8d0e99ac3d28ec0fe793bc5 (patch) | |
tree | 48c47b4ade8f512a944468ba8a47beb78c2ea1bc /x11-libs/wxGTK | |
parent | QA - fix use invocation, run gnuconfig_update everywhere instead of select ar... (diff) | |
download | historical-0a59b0ebac2f759cd8d0e99ac3d28ec0fe793bc5.tar.gz historical-0a59b0ebac2f759cd8d0e99ac3d28ec0fe793bc5.tar.bz2 historical-0a59b0ebac2f759cd8d0e99ac3d28ec0fe793bc5.zip |
QA - fix use invocation
Diffstat (limited to 'x11-libs/wxGTK')
-rw-r--r-- | x11-libs/wxGTK/ChangeLog | 6 | ||||
-rw-r--r-- | x11-libs/wxGTK/wxGTK-2.4.0.ebuild | 6 | ||||
-rw-r--r-- | x11-libs/wxGTK/wxGTK-2.4.1-r1.ebuild | 6 | ||||
-rw-r--r-- | x11-libs/wxGTK/wxGTK-2.5.1.ebuild | 13 |
4 files changed, 19 insertions, 12 deletions
diff --git a/x11-libs/wxGTK/ChangeLog b/x11-libs/wxGTK/ChangeLog index 0e1eeaf36b39..cb5445383ff1 100644 --- a/x11-libs/wxGTK/ChangeLog +++ b/x11-libs/wxGTK/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-libs/wxGTK # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.51 2004/06/23 05:41:53 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.52 2004/06/24 00:19:16 agriffis Exp $ + + 23 Jun 2004; Aron Griffis <agriffis@gentoo.org> wxGTK-2.4.0.ebuild, + wxGTK-2.4.1-r1.ebuild, wxGTK-2.5.1.ebuild: + QA - fix use invocation *wxGTK-2.4.2-r1 (22 Jun 2004) diff --git a/x11-libs/wxGTK/wxGTK-2.4.0.ebuild b/x11-libs/wxGTK/wxGTK-2.4.0.ebuild index 9a1d10bf2994..9d0fea5e797b 100644 --- a/x11-libs/wxGTK/wxGTK-2.4.0.ebuild +++ b/x11-libs/wxGTK/wxGTK-2.4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.0.ebuild,v 1.16 2004/04/26 14:43:52 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.0.ebuild,v 1.17 2004/06/24 00:19:16 agriffis Exp $ DESCRIPTION="GTK+ version of wxWindows, a cross-platform C++ GUI toolkit." SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2" @@ -58,9 +58,9 @@ src_compile() { # We only use --enable-unicode (if at all) when we use # gtk2. - if [ `use odbc` ] && [ ! `use gtk2` ]; then + if use odbc && ! use gtk2; then myconf="${myconf} --with-odbc" - elif [ `use odbc` ] && [ `use gtk2` ]; then + elif use odbc && use gtk2; then ewarn "" einfo "you cannot specify both odbc and gtk2" einfo "Choosing gtk2 over odbc" diff --git a/x11-libs/wxGTK/wxGTK-2.4.1-r1.ebuild b/x11-libs/wxGTK/wxGTK-2.4.1-r1.ebuild index 34a4d0e6a59e..21c9fd697f17 100644 --- a/x11-libs/wxGTK/wxGTK-2.4.1-r1.ebuild +++ b/x11-libs/wxGTK/wxGTK-2.4.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.1-r1.ebuild,v 1.10 2004/04/26 14:43:52 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.1-r1.ebuild,v 1.11 2004/06/24 00:19:16 agriffis Exp $ inherit eutils @@ -55,9 +55,9 @@ src_compile() { # gtk2. - if [ `use odbc` ] && [ ! `use gtk2` ]; then + if use odbc && ! use gtk2; then myconf="${myconf} --with-odbc" - elif [ `use odbc` ] && [ `use gtk2` ]; then + elif use odbc && use gtk2; then ewarn "" einfo "you cannot specify both odbc and gtk2" einfo "Choosing gtk2 over odbc" diff --git a/x11-libs/wxGTK/wxGTK-2.5.1.ebuild b/x11-libs/wxGTK/wxGTK-2.5.1.ebuild index cca44647e88f..6970e2bb2d7c 100644 --- a/x11-libs/wxGTK/wxGTK-2.5.1.ebuild +++ b/x11-libs/wxGTK/wxGTK-2.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.5.1.ebuild,v 1.1 2004/06/22 21:45:50 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.5.1.ebuild,v 1.2 2004/06/24 00:19:16 agriffis Exp $ DESCRIPTION="GTK+ version of wxWindows, a cross-platform C++ GUI toolkit." SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2" @@ -49,10 +49,13 @@ src_compile() { # bug #20116 - liquidx@gentoo.org (07 May 2003) use gtk2 && myconf="${myconf} --enable-gtk2" - # only allow unicode if using gtk2 - [ -n "`use gtk2`" -a -n "`use unicode`" ] && myconf="${myconf} --enable-unicode" - # only enable odbc if unicode is not enabled. - [ -n "`use gtk2`" -a -n "`use unicode`" ] || myconf="${myconf} `use_with odbc`" + if use gtk2 && use unicode; then + # only allow unicode if using gtk2 + myconf="${myconf} --enable-unicode" + else + # only enable odbc if unicode is not enabled. + myconf="${myconf} `use_with odbc`" + fi econf ${myconf} emake || die "make failed" |