From 92ec3963e590531136eecabb04c20b5c1711f999 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 11 Nov 2015 15:28:58 +0100 Subject: [PATCH] pgadmin3: rebuild against wx 3.0. --- srcpkgs/pgadmin3/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/pgadmin3/template b/srcpkgs/pgadmin3/template index 7cd780b7dd6..3908a59f946 100644 --- a/srcpkgs/pgadmin3/template +++ b/srcpkgs/pgadmin3/template @@ -1,9 +1,10 @@ # Template file for 'pgadmin3' pkgname=pgadmin3 version=1.20.0 -revision=1 +revision=2 build_style=gnu-configure -makedepends="postgresql-libs-devel wxGTK-devel libxslt-devel libressl-devel" +configure_args="ac_cv_path_WX_CONFIG=wx-config-3.0 --with-wx-version=3.0" +makedepends="postgresql-libs-devel wxWidgets-devel libxslt-devel libressl-devel" short_desc="Comprehensive design and management interface for PostgreSQL" maintainer="Gerardo Di Iorio " license="BSD" @@ -12,6 +13,10 @@ distfiles="http://ftp.postgresql.org/pub/pgadmin3/release/v${version}/src/pgadmi checksum=0773d7826a9c7a998c4872e9b00b998e0bbb10448984d66853420c95fa626b8c nocross=yes +post_extract() { + sed -i 's/wxrc/&-3.0/' pgadmin/ui/embed-xrc + sed -i 's,${WX_HOME}/bin/wx-config,&-3.0,g' configure +} post_install() { vlicense LICENSE }