summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2008-01-13 14:47:44 +0000
committerJakub Moc <jakub@gentoo.org>2008-01-13 14:47:44 +0000
commit1119bd01ce9f8ce4bda8f80eb67bfcbcdb83b728 (patch)
tree141f7bae18216013846f88e8bf61fa3f4afe7482 /dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild
parentx11-misc/xorg-edit: Fix wxGTK handling (diff)
downloadsunrise-1119bd01ce9f8ce4bda8f80eb67bfcbcdb83b728.tar.gz
sunrise-1119bd01ce9f8ce4bda8f80eb67bfcbcdb83b728.tar.bz2
sunrise-1119bd01ce9f8ce4bda8f80eb67bfcbcdb83b728.zip
dev-db/wxSQLite3: Fix wxGTK handling
svn path=/sunrise/; revision=5392
Diffstat (limited to 'dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild')
-rw-r--r--dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild b/dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild
index 99afff1ca..e856e4788 100644
--- a/dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild
+++ b/dev-db/wxSQLite3/wxSQLite3-1.6.0.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+WX_GTK_VER="2.6"
inherit eutils wxwidgets
DESCRIPTION="a C++ wrapper around the public domain SQLite 3.x database"
@@ -13,7 +14,7 @@ SLOT="0"
KEYWORDS="~x86"
IUSE="unicode"
-DEPEND=">=x11-libs/wxGTK-2.6
+DEPEND="=x11-libs/wxGTK-2.6*
=dev-db/sqlite-3*"
RDEPEND="${DEPEND}"
@@ -26,12 +27,7 @@ src_unpack() {
}
src_compile() {
- export WX_GTK_VER=2.6
- if use unicode; then
- need-wxwidgets unicode || die
- else
- need-wxwidgets gtk2 || die
- fi
+ use unicode && need-wxwidgets unicode || need-wxwidgets gtk2
econf \
$(use_enable unicode) \
@@ -40,7 +36,6 @@ src_compile() {
--with-gtk \
--with-wxshared \
--with-sqlite3-prefix=/usr \
- || die "econf failed"
emake || die "emake failed"
}