--- pgadmin3-1.4.3.ebuild 2007-05-12 15:34:22.000000000 +0200 +++ ./pgadmin3-1.6.3.ebuild 2007-05-12 15:35:48.000000000 +0200 @@ -1,10 +1,10 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.4.3.ebuild,v 1.5 2007/02/10 13:19:10 beandog Exp $ +# inherit wxwidgets eutils autotools -KEYWORDS="~alpha amd64 ppc sparc x86" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" DESCRIPTION="wxWidgets GUI for PostgreSQL." HOMEPAGE="http://www.pgadmin.org/" @@ -13,14 +13,14 @@ SLOT="0" IUSE="debug" -DEPEND="=x11-libs/wxGTK-2.6* - >=dev-db/libpq-7.4 - >=dev-libs/libxml2-2.5 - >=dev-libs/libxslt-1.1" +DEPEND="=x11-libs/wxGTK-2.8* + >=dev-db/libpq-7.4 + >=dev-libs/libxml2-2.5 + >=dev-libs/libxslt-1.1" RDEPEND="${DEPEND}" pkg_setup() { - export WX_GTK_VER=2.6 + export WX_GTK_VER=2.8 export WX_HOME=/usr need-wxwidgets unicode } @@ -40,11 +40,11 @@ src_compile() { cd "${S}" - + patch -p0 < ${FILESDIR}/patch.p0 # pgadmin3 inserts WX_HOME before the WX_CONFIG path below, so we have to strip "/usr" from it econf \ - --with-wx-config=${WX_CONFIG/\/usr} \ - $(use_enable debug) \ + --with-wx-config=/${WX_CONFIG/\ /usr} \ + --with-wx-version=2.8 \ || die "econf failed" emake || die "emake failed" }