From f08ba289593a638686b8570914795d88cc1268c8 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 24 May 2016 17:23:38 +0200 Subject: [PATCH] dev-db/wxsqlite3: simplify by using wx-config-${SLOT} symlink --- packages/dev-db/wxsqlite3/wxsqlite3-3.3.1.exheres-0 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/dev-db/wxsqlite3/wxsqlite3-3.3.1.exheres-0 b/packages/dev-db/wxsqlite3/wxsqlite3-3.3.1.exheres-0 index a7d542c2..d7b42889 100644 --- a/packages/dev-db/wxsqlite3/wxsqlite3-3.3.1.exheres-0 +++ b/packages/dev-db/wxsqlite3/wxsqlite3-3.3.1.exheres-0 @@ -40,7 +40,7 @@ src_configure() { econf \ --enable-shared \ --enable-unicode \ - --with-wx-config="/usr/$(exhost --target)/lib/wx/config/$(option providers:gtk3 'gtk3' 'gtk2')-unicode-3.0" \ + --with-wx-config="/usr/$(exhost --target)/bin/wx-config-${SLOT}" \ --with-wxshared \ --with-sqlite3-prefix="/usr/$(exhost --target)" \ --includedir="/usr/$(exhost --target)/include/wx-${SLOT}/" \ @@ -58,7 +58,9 @@ src_install() { gtkver=2 fi - # this is the upstream .pc file + # this is the upstream .pc file and it doesn't get + # generated properly + # since upstream is uncollaborative, we'll keep sedding it edo sed \ -e "s:prefix=/usr:prefix=/usr/$(exhost --target):" \ -e "s:wxcode_gtk2_wxsqlite3:wxcode_gtk${gtkver}u_wxsqlite3:" \