dev-db/wxsqlite3: fix build for provider:gtk2

This commit is contained in:
Julian Ospald 2016-02-27 00:00:08 +01:00
parent 491c4c00ff
commit 03e1b13541

View File

@ -18,13 +18,15 @@ DEPENDENCIES="
x11-libs/wxGTK:${SLOT}[providers:gtk3?][providers:gtk2?]
"
DEFAULT_SRC_CONFIGURE_PARAMS=(
--enable-shared
--enable-unicode
--with-wx-config="/usr/$(exhost --target)/lib/wx/config/gtk3-unicode-3.0"
--with-wxshared
--with-sqlite3-prefix="/usr/$(exhost --target)"
)
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-wxshared \
--with-sqlite3-prefix="/usr/$(exhost --target)"
}
src_install() {
default